-
Notifications
You must be signed in to change notification settings - Fork 186
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
Improve documentation for default_undesirable_functions #1133
Comments
We could document those either in the lint itself (e.g. |
I think both would be good. In the lint is better for users, in the docs for developers. |
The message is currently hard-coded to be "Function {fun} is undesirable. As an alternative, {explanation}". Maybe simply "Function {fun} is undesirable. {explanation}"? |
It can be similar to our deprecation note, right? old / new / explanation? |
That would make the old interface (named character vector) impossible to use for customization. |
right... in that case your suggestion is the best we can do I think. (I always found the old pattern to restrictive anyway) |
Fixed in #1149 |
Currently I don't see any reasoning behind why the various default undesirables are considered undesirable.
Inspired by this SO Q:
https://stackoverflow.com/questions/65466324/why-are-sapply-and-options-undesirable
The text was updated successfully, but these errors were encountered: