-
Notifications
You must be signed in to change notification settings - Fork 184
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
fix cache logic #146
fix cache logic #146
Conversation
lazy evaluation causes these to be evaluated after reading the settings when cache is TRUE. By this time, settings$exclusions is back to the original non-normalized paths
updated to pass R CMD check and travis |
if (length(cache)) { | ||
lint_cache <- load_cache(filename, cache) | ||
if (length(cacheDir)) { | ||
lint_cache <- load_cache(filename, cacheDir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use follow the naming convention and use cache_dir
here
Please add a note to NEWS.md describing the fix and thanking yourself, then ping me. Thank you for the PR! |
ping No problem! I really appreciate both lintr and covr. Both are wonderful packages to have. |
Thanks! |
Hi Jim,
when turning on the cache flag, I wasn't getting any speed improvements. With this pull request, files are being saved and compute much faster.
(on the GGally package...)
Best,
Barret