HenrikBengtsson / Wishlist-for-R

Features and tweaks to R that I and others would love to see - feel free to add yours!
https://github.com/HenrikBengtsson/Wishlist-for-R/issues
GNU Lesser General Public License v3.0
134 stars 4 forks source link

Use `chkDots()` in more methods #168

Open Bisaloo opened 3 months ago

Bisaloo commented 3 months ago

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: https://github.com/r-devel/r-svn/commit/97d6701f8b91f810d70b2e187b31b7082a2597ba

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:

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