upgrade {renv} | R Documentation |
Upgrade the version of renv
associated with a project.
upgrade(project = NULL, version = NULL, reload = NULL, prompt = interactive())
project |
The project directory. If |
version |
The version of |
reload |
Boolean; reload |
prompt |
Boolean; prompt upgrade before proceeding? |
By default, this function will attempt to install the latest version of
renv
as available on the active R package repositories. 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
, as from the renv
project's GitHub page.
A boolean value, indicating whether the requested version of
renv
was successfully installed. Note that this function is normally
called for its side effects.
## Not run: # upgrade to the latest version of renv renv::upgrade() # upgrade to the latest version of renv on GitHub (development version) renv::upgrade(version = "master") ## End(Not run)