Skip to content

new chkDots warnings from splom() in R-devel #44

@bastistician

Description

@bastistician

Modified from example(splom):

lattice::splom(~iris[1:4], groups = Species, data = iris, cex = 0.5)

In R >= r88881, this produces

Warning messages:
1: In pretty.default(x = base::quote(c(4.3, 7.9)), i = base::quote(1), 
    j = base::quote(1), cex = base::quote(0.5), n = base::quote(5)) :
 extra arguments ‘i’, ‘j’, ‘cex’ will be disregarded 
2: In pretty.default(x = base::quote(c(2, 4.4)), i = base::quote(2), 
    j = base::quote(2), cex = base::quote(0.5), n = base::quote(5)) :
 extra arguments ‘i’, ‘j’, ‘cex’ will be disregarded 
3: In pretty.default(x = base::quote(c(1, 6.9)), i = base::quote(3), 
    j = base::quote(3), cex = base::quote(0.5), n = base::quote(5)) :
 extra arguments ‘i’, ‘j’, ‘cex’ will be disregarded 
4: In pretty.default(x = base::quote(c(0.1, 2.5)), i = base::quote(4), 
    j = base::quote(4), cex = base::quote(0.5), n = base::quote(5)) :
 extra arguments ‘i’, ‘j’, ‘cex’ will be disregarded 

because pretty.default now does chkDots(...) -- intended to catch typos, see @mmaechler's comment in https://bugs.r-project.org/show_bug.cgi?id=18521#c4 -- so no longer simply ignores extra arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions