Skip to content

Use chkDots() in more methods #168

@Bisaloo

Description

@Bisaloo

It is common that some arguments will be silently ignored due to the presence of ... in the argument list.

R Core have release the chkDots() utility almost 10 years ago so it can be warn when arguments are passed to ... but ignored: r-devel/r-svn@97d6701

But a number of base methods are not using this utility when they could. The goal of this issue is to list all the potential candidates before potentially opening a bugzilla issue / submitting a patch:

  • toString.default()
  • as.data.frame.data.frame()
  • as.data.frame.vector()
  • as.data.frame.matrix()
  • cut.default()
  • mean.default()
  • ...

Other mechanism to guard against the presence of ...:

  • split.default()

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