-
A new setting,
snapshot.dev, has been added to control whether development
dependencies are included by default when callingrenv::snapshot()or
renv::status(). This setting defaults toFALSE. (#2190) -
RENV_CONFIG_REPOS_OVERRIDEnow supports multiple named repositories using
the syntaxNAME1=URL1;NAME2=URL2. Single repository URLs continue to be
supported. -
Fixed an issue where
renv::sysreqs()could fail on operating systems
which don't declare a VERSION_ID in/etc/os-release. (#2197) -
renv::dependencies()now detects packages used in e.g.
data(<dataset>, package = <package>). (#2181) -
Fixed an issue where cache callbacks (e.g. those run by setting
RENV_CACHE_USERandRENV_CACHE_MODE, or via therenv.cache.callback
option) were not run afterrenv::hydrate(). (#2179) -
renv::embed()now errs if one or more of the package dependencies to
be included within a file are not available. (#2178) -
renvgains the functionrenv::vulns(), which can be used to query
vulnerability information from a Posit Package Manager instance.
This information can be queried either for a specific set of packages,
or for all packages defined in a lockfile. -
renvnow also supportsRENV_LOCKFILE_VERSION = 1as an alternate
way to request the older, compact lockfiles. (#2175) -
The version check in
renv::status()can now be disabled by setting
options(renv.status.check_version = FALSE). (#2167) -
Fixed an issue where the package manager URL was computed incorrectly
with RHEL 10. -
renvnow prints the version numbers of the packages it downloads during
install and restore. (#1925) -
The
renvconfiguration optionbioconductor.initcan now be used to
control the default argument passed for thebioconductorparameter in
calls torenv::init(). (#2128) -
renvnow supports bootstrapping itself from the global package
cache. (#1799) -
renvnow prefers appending, rather than prepending, Bioconductor
repositories to the current set of repositories when installing
packages. This implies that if you're using a repository that also
provides Bioconductor packages, this repository will be preferred
as opposed to the "default" Bioconductor repositories. (#2128) -
renv::restore()now ignores theRepositoryfield on lockfile entries
when therepos.overrideconfiguration option is set. (#2127) -
renv::restore()now transforms binary repository URLs appropriately,
for installed packages which were recorded as installed from an
alternate binary repository URL. (#2127)