Skip to content
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

make R.cache an import #589

Merged
merged 10 commits into from
Feb 10, 2020
Merged

Conversation

lorenzwalthert
Copy link
Collaborator

@lorenzwalthert lorenzwalthert commented Feb 9, 2020

Make sure that when cache is was deactivated by the user and R.cache is installed but there is no R.cache permanent directory, the user is never asked about setting up a permanent directory.

@codecov-io
Copy link

codecov-io commented Feb 9, 2020

Codecov Report

Merging #589 into master will increase coverage by 0.58%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #589      +/-   ##
==========================================
+ Coverage   91.53%   92.12%   +0.58%     
==========================================
  Files          47       47              
  Lines        2115     2094      -21     
==========================================
- Hits         1936     1929       -7     
+ Misses        179      165      -14
Impacted Files Coverage Δ
R/ui-caching.R 100% <ø> (ø) ⬆️
R/communicate.R 90% <ø> (+47.69%) ⬆️
R/transform-files.R 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a958e3e...825a4ad. Read the comment docs.

@lorenzwalthert lorenzwalthert force-pushed the improve-caching branch 2 times, most recently from ab1034e to 4e9ca34 Compare February 9, 2020 19:06
… there is no R.cache premanent directory, the user is never asked about setting up a permanent directory.
This remove one step in the styler setup for caching. Now, the only thing an interactive user has to do is to allow R.cache to set up a permanent cache. I believe this is worth the three extra recursive dependencies because there is actually no reason why you are strictly against using caching, even on CI/CD it will speed up things.
@lorenzwalthert lorenzwalthert changed the title Improve user experience for caching edge case. make R.cache an import Feb 10, 2020
@lorenzwalthert lorenzwalthert merged commit 4e8d386 into r-lib:master Feb 10, 2020
@lorenzwalthert lorenzwalthert deleted the improve-caching branch February 10, 2020 20:19
@lorenzwalthert
Copy link
Collaborator Author

Also relevant link: #578.

@lorenzwalthert lorenzwalthert restored the improve-caching branch November 28, 2020 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants