-
Notifications
You must be signed in to change notification settings - Fork 64
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
Use an R option or env variable to turn on/off Connect content cache #660
Conversation
This PR also does some code styling on |
R/board_rsconnect.R
Outdated
if (use_cache()) { | ||
cache <- read_cache(path) | ||
cache[[key]] <- value | ||
write_yaml(cache, path) | ||
} |
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.
I am checking the cache option in both read_cache()
and update_cache()
even though the second calls the first so we avoid writing to the cache here
Merge commit '4439a8f174f245305045b5da6f0ee7a5bce0472a' #Conflicts: # .github/workflows/R-CMD-check.yaml
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.
LGTM!
Closed by #667 |
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
Addresses #635