checkout {renv} | R Documentation |
renv::checkout()
can be used to install and use the latest packages
available from the requested repositories. This can be useful for cleaning
up a library which has become a mish-mash of packages installed from a
variety of disparate sources.
checkout( repos = getOption("repos"), ..., packages = NULL, clean = FALSE, project = NULL )
repos |
The R package repositories to check out. |
... |
Unused arguments, reserved for future expansion. If any arguments
are matched to |
packages |
The packages to be installed. When |
clean |
Boolean; remove packages not recorded in the lockfile from
the target library? Use |
project |
The project directory. If |