8000 (setup-renv) Fix renv package cache location by milanmlft · Pull Request #414 · r-lib/actions · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

(setup-renv) Fix renv package cache location #414

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

Merged
merged 1 commit into from
Oct 19, 2021
Merged

(setup-renv) Fix renv package cache location #414

merged 1 commit into from
Oct 19, 2021

Conversation

milanmlft
Copy link
Contributor

This PR fixes the renv package location by setting the RENV_PATHS_ROOT environment variable to ${{ runner.temp }}/renv, as suggested by #410 (comment). This should ensure the correct directory is being cached on the GHA runner.

Fixes #408.

@jimhester
Copy link
Member

Thanks!

@jimhester jimhester merged commit bda9614 into r-lib:master Oct 19, 2021
@milanmlft milanmlft deleted the fix-setup-renv branch October 19, 2021 15:20
milanmlft added a commit to statOmics/Rmd-website that referenced this pull request Oct 20, 2021
No need to install renv and restore again.
Caching fixed after r-lib/actions#414
milanmlft added a commit to statOmics/HDDA21 that referenced this pull request Oct 20, 2021
No need to install renv and restore again.
Caching fixed after r-lib/actions#414
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setup-renv: not actually caching installed packages?
2 participants
0