Skip to content

renv 1.1.6

Latest

Choose a tag to compare

@kevinushey kevinushey released this 25 Feb 22:39
  • A new setting, snapshot.dev, has been added to control whether development
    dependencies are included by default when calling renv::snapshot() or
    renv::status(). This setting defaults to FALSE. (#2190)

  • RENV_CONFIG_REPOS_OVERRIDE now supports multiple named repositories using
    the syntax NAME1=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_USER and RENV_CACHE_MODE, or via the renv.cache.callback
    option) were not run after renv::hydrate(). (#2179)

  • renv::embed() now errs if one or more of the package dependencies to
    be included within a file are not available. (#2178)

  • renv gains the function renv::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.

  • renv now also supports RENV_LOCKFILE_VERSION = 1 as 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.

  • renv now prints the version numbers of the packages it downloads during
    install and restore. (#1925)

  • The renv configuration option bioconductor.init can now be used to
    control the default argument passed for the bioconductor parameter in
    calls to renv::init(). (#2128)

  • renv now supports bootstrapping itself from the global package
    cache. (#1799)

  • renv now 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 the Repository field on lockfile entries
    when the repos.override configuration 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)