- 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.
 
- ...
- Unused arguments, reserved for future expansion. If any arguments
are matched to - ..., renv will signal an error.
 
- library
- The library paths to be used during restore. 
- lockfile
- Path to a lockfile. When - NULL(the default), the- renv.locklocated in the root of the current project will be used.
 
- packages
- A subset of packages recorded in the lockfile to restore.
When - NULL(the default), all packages available in the lockfile will be
restored. Any required recursive dependencies of the requested packages
will be restored as well.
 
- exclude
- A subset of packages to be excluded during restore. This can
be useful for when you'd like to restore all but a subset of packages from
a lockfile. Note that if you attempt to exclude a package which is required
as the recursive dependency of another package, your request will be
ignored. 
- rebuild
- Force packages to be rebuilt, thereby bypassing any installed
versions of the package available in the cache? This can either be a
boolean (indicating that all installed packages should be rebuilt), or a
vector of package names indicating which packages should be rebuilt. 
- repos
- The repositories to use when restoring packages installed
from CRAN or a CRAN-like repository. By default, the repositories recorded
in the lockfile will be used, ensuring that (e.g.) CRAN packages are
re-installed from the same CRAN mirror. - Use - repos = getOption("repos")to override with the repositories set
in the current session, or see the- repos.overrideoption in config for
an alternate way override.
 
- clean
- Boolean; remove packages not recorded in the lockfile from
the target library? Use - clean = TRUEif you'd like the library state
to exactly reflect the lockfile contents after- restore().
 
- transactional
- Whether or not to use a 'transactional' restore.
See Transactional Restore for more details. When - NULL(the default),
the value of the- install.transactional- configoption will be used.
 
- prompt
- Boolean; prompt the user before taking any action? For backwards
compatibility, - confirmis accepted as an alias for- prompt.