-
Fixed an issue where
renv::hydrate()could fail to install packages
discovered in the user library duringrenv::init(). (#2109) -
renv::update()now only updates the packages installed in the project
library by default.renv::update(all = TRUE)can be used to also
check if packages installed in the default library are out-of-date, and
install updated copies into the project library. (#2108) -
Fixed an issue where package installation could fail on Arch Linux with the
error message "don't know how to check sysreqs on this system". (#2107) -
renvnow supports profile-specific comments within.gitignoreand
.renvignorefiles. These are comments of the form#| <code>, where
<code>is R code which should indicate if the.renvignorerules should
apply. Typically, this should be of the form#| profile == "extra", or
#| profile %in% c("extra", "other"). Note that only a small subset of
base R functions are available for evaluation in this context. Note that
the first section in a.renvignoreimplicitly applies to all profiles --
if you want to limit it to just the default profile, you can use
#| profile == "default"for the first line. (#1662) -
The environment variable
RENV_PATHS_VERSIONcan now be used to substitute
the R version component normally used in library / cache paths. The provided
path can include placeholders like%Vfor the full R version including
the patch level, and%vfor the R version without the patch level. Defaults
toR-%vwhen unset. (#1687) -
renv::install()gains thetransactionalargument, for parity with
renv::restore(). (#1109)