-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Issues with renv 0.17.0 and 0.17.1 #406
Comments
This will address carpentries/sandpaper#406 and rstudio/renv#1156 until the next version of {renv} is sent to CRAN
UpdateThe issues presented have been fixed as of {renv} 0.17.0-38 🎉 Point 1 was fixed in rstudio/renv@8b5cb2c Point 3 was not explicitly a BioConductor bug and was addressed in rstudio/renv@7aa92a0, which updated how r-universe repositories were handled. Point 4 was fixed by rstudio/renv@028ccc5 and rstudio/renv@c068880, which updated the way Tasks left
|
{renv} 0.17.1 has been released to CRAN. I will test this with the bioc lessons and then close this issue. |
It does not break the bioc lessons, but #415 shows that there is something up with the reporting mechanism. In addition, the hashing mechanism appears to be different |
I see that someone else has noticed this: rstudio/renv#1168 |
What this means is that, because we make sure to rebuild if the package cache file has changed
then all R-based lessons will constantly go through a rebuild process until renv 0.17.2 is released. |
As of {renv} 0.17.2, you do not need to do anything as long as your version of {sandpaper} is up-to-date |
I believe this is no longer an issue, so I will close it hoping that others who face this problem will find their way here. |
Recommendation
It is recommended for users to use {renv} version >= 0.17.2 (currently on CRAN) OR {renv} version <= 0.16.0.
Please run
install.packages("renv")
from your R console to upgrade.Test if you need to update your version of {renv}
To test if you need to update your version of {renv}, run this R code in your R console:
If the result is
TRUE
, then you do not need to do anything.If the result is
FALSE
, then follow one of the steps below.Upgrading to the patched version: 0.17.0-38
To upgrade to the patched version of {renv}, use the following code to install renv version 0.17.0-38 from The Carpentries R-universe. Note: this is the version that {sandpaper} will use to build your R Markdown lessons on GitHub.
Downgrading to 0.16.0
If you wish to downgrade {renv} instead, you can install {renv} from an archive:
install.packages("https://cran.r-project.org/src/contrib/Archive/renv/renv_0.16.0.tar.gz")
Problem
The new version of {renv} 0.17.0 introduced a few unexpected bugs:
renv/
folder now contains a locked sandbox folder, which causes teardown errors:Lessons Affected
All other existing lessons should work as expected.
The text was updated successfully, but these errors were encountered: