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
The global variables lintr looks for variables defined in the current package, however if lintr is run before the function or variable is defined, then it is defined later the cache needs to be invalidated and re-linted so that the new variable is picked up.
Maybe the easiest thing to do is just never cache expressions that produce this specific lint...
The text was updated successfully, but these errors were encountered:
I'm going to close this -- it hasn't gotten any traction and there's no associated reprex. Jim, feel free to re-open if you plan to work on it / can share a reprex. Otherwise we can wait for a user to report the issue.
The global variables lintr looks for variables defined in the current package, however if
lintr
is run before the function or variable is defined, then it is defined later the cache needs to be invalidated and re-linted so that the new variable is picked up.Maybe the easiest thing to do is just never cache expressions that produce this specific lint...
The text was updated successfully, but these errors were encountered: