Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MichaelChirico opened this issue Mar 25, 2025 · 0 comments
Open

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

MichaelChirico opened this issue Mar 25, 2025 · 0 comments

Comments

@MichaelChirico
Copy link
Collaborator

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

@MichaelChirico MichaelChirico changed the title next_method_linter(), first rule: don't past '...' next_method_linter(), first rule: don't pass '...' Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant