-
Notifications
You must be signed in to change notification settings - Fork 155
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
renv 0.17.1 changed package hash #1168
Comments
Thanks for the bug report; this was an unintentional change. I'll fix this ASAP and get a patch onto CRAN. This shouldn't effect the integrity of the cache, but you may have some duplicate cache entries. I'll put together a tool for cleaning those up soon after. |
I have a fix in fad0808; I'll do some testing to confirm all looks well on my end but please let me know if you can confirm as well. |
Just tested on my end by backing up my renv.lock, upgrading to that new version, taking a new Thanks for fixing so quickly! |
renv 0.17.2 is on its way to CRAN; hopefully to be accepted soon. Sorry for the rocky round of releases in 0.17. |
renv 0.17.2 is now on CRAN! |
I upgraded to 0.17.1 this morning and when I took a snapshot, it changed the hash for the vast majority of my packages. The new hash didn't align with the package path in my cache. This was pretty unexpected.
I tried it in two separate R environments (OS, R, RStudio and renv versions [0.16.0->0.17.1, 0.17.0->0.17.1]) and it occurred with both.
One package example was BH. It didn't happen to R6, but it did to Rcpp and many others.
The text was updated successfully, but these errors were encountered: