-
Notifications
You must be signed in to change notification settings - Fork 217
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
setup-renv
isn't caching R packages when RENV_CONFIG_PAK_ENABLED: true
#900
Comments
Where is the package library in this case? |
I'm guessing it's in
from the log messages, although I don't know exactly. I can say I'm using a standard |
Yeah, caching - name: Restore package cache
uses: actions/cache@v4
with:
key: ${{ runner.os }}-1-${{ hashFiles('renv.lock') }}
restore-keys: ${{ runner.os }}-1-
path: renv/library ( |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue |
Describe the bug
I'm using the
setup-renv
action withRENV_CONFIG_PAK_ENABLED
set totrue
. Unless I'm missing something, the package library isn't included in the cache and packages are always installed fresh with each run.To Reproduce
Here are two subsequent runs of the same workflow, both spend ~10 minutes installing packages despite the cache hit.
Expected behavior
I was expecting the package library to be included in the cache.
Additional context
Here are a few relevant log lines:
The text was updated successfully, but these errors were encountered: