Standard
renv::restore() stops at the first package failure, leaving
your environment partially restored. renvvv continues
past failures, retries them individually, and reports what couldn’t be
installed—so you don’t lose progress on packages that can be
restored.
library(renvvv)
# Restore lockfile versions — continues past individual failures
renvvv_restore()
# Update all packages to their latest available versions
renvvv_update()
# Restore lockfile versions, then update to latest
renvvv_restore_and_update()All three functions accept the same filtering arguments:
By default, Bioconductor packages are installed via
renv::install("bioc::package"). To use
BiocManager::install() instead, pass
biocmanager_install = TRUE to any of the three
functions.
If you’re in a directory with renv.lock but the project
isn’t active:
| Feature | renv |
renvvv |
|---|---|---|
| Stops on first restore error | Yes | No — continues and retries |
| Reports all failures at once | No | Yes |
| Filter packages by source | No | Yes (github / non_github) |
| Skip individual packages | No | Yes (skip) |
| Batch update to latest versions | No | Yes (renvvv_update()) |