modify {renv} | R Documentation |
Modify a Lockfile
Description
Modify a project's lockfile, either interactively or non-interactively.
Usage
modify(project = NULL, changes = NULL)
Arguments
project |
The project directory. If |
changes |
A list of changes to be merged into the lockfile.
When |
Details
After edit, if the lockfile edited is associated with the active project, any state-related changes (e.g. to R repositories) will be updated in the current session.
Value
The project directory, invisibly. Note that this function is normally called for its side effects.
Examples
## Not run:
# modify an existing lockfile
if (interactive())
renv::modify()
## End(Not run)
[Package renv version 1.0.7 Index]