You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think just like missing_argument_linter(except = c(...)) would be enough. But I suspect even these functions should not be allowed by default too because in most scenarios using duplicate arguments with these functions are undesired either, except for a very limited scenarios where it might be useful I like mentioned.
It is almost always a mistake to call a function with duplicate arguments, i.e. arguments of the same name, like the following:
Therefore, in most cases, it might make sense to check all function calls and ensure there are no duplicate arguments.
One use case of duplicate argument is to produce some table that actually needs duplicate headers for demonstration in documents, e.g.
The text was updated successfully, but these errors were encountered: