-
Notifications
You must be signed in to change notification settings - Fork 186
option to disable the object_usage_linter
inside with
expressions
#1458
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
Labels
false-positive
code that shouldn't lint, but does
Comments
Hi, thanks for reporting this. Regarding your second example: The object usage linter only checks (top-level) function definitions, so the second example doesn't trigger it. |
Related: #941 |
Thanks for your answer, I will follow this issue then! |
IndrajeetPatil
added a commit
that referenced
this issue
Sep 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
would it be possible to add an option to the
object_usage_linter
so it does not check the inside ofwith
expressions?running
lintr::lint("this_file.R")
throw the following warnings:
but strangely no such warning appear with this code:
Thanks
The text was updated successfully, but these errors were encountered: