-
Notifications
You must be signed in to change notification settings - Fork 187
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
Is caching not working as expected? #2642
Comments
> system.time(lintr::lint_dir("~/Documents/GitHub/lintr/R", cache = TRUE))
|====================================================================================================================| 100%
user system elapsed
49.759 1.422 52.014
> system.time(lintr::lint_dir("~/Documents/GitHub/lintr/R"))
|====================================================================================================================| 100%
user system elapsed
58.436 1.401 61.078 |
Does it work when specifying |
This is WAI IMO, Line 28 in f2da882
Possibly, we could consider allowing |
Okay, I clearly have an incorrect mental model of As a user, here is how I thought it worked:
Admittedly, this UX expectation comes from how caching works in But I am happy to be challenged on that point :) |
I'm happy with revisiting the cache UX. |
Noting: if Anyone, +1 to revisiting. We don't have a |
I was expecting that the second call here would be faster because it would use cache, but that's not what I see (at least locally).
Either I am doing something wrong, or the caching is not working as expected.
The text was updated successfully, but these errors were encountered: