Skip to content

next_method_linter(), first rule: don't pass '...' #2840

@MichaelChirico

Description

@MichaelChirico

I've just run into this highly vexing issue, which apparently has been trapping folks deep in the S3 weeds for quite some time 😃

https://stat.ethz.ch/pipermail/r-devel/2012-October/065016.html

As noted, passing ... to NextMethod() is almost surely not what you want, and we can easily look for that statically.

We might also consider enforcing "no positional arguments":

https://bugs.r-project.org/show_bug.cgi?id=15654

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions