upgrade: Upgrade renv

Description Usage Arguments Details

Description

Upgrade the version of renv associated with a project.

Usage

1

Arguments

project

The project directory. If NULL, then the active project will be used. If no project is currently active, then the current working directory is used instead.

version

The version of renv to be installed. By default, the latest version of renv available on CRAN is used.

confirm

Boolean; confirm upgrade before proceeding?

Details

This function will attempt to install renv from two locations:

  1. The active CRAN repositories (as specified in getOption("repos"));

  2. From the renv project's GitHub page.

When version = NULL (the default), only the active CRAN repositories will be consulted. Hence, this can be used to upgrade a project to the latest released version of renv on CRAN.

If you'd instead like to try out a development version of renv, you can explicitly request a different version of renv and that version of the package will be downloaded and installed from GitHub. Use version = "master" to install the latest development version of renv.


slopp/renv documentation built on July 6, 2019, 12:08 a.m.