revert.RdRevert the lockfile to its contents at a prior commit.
revert(commit = "HEAD", ..., project = NULL)
| commit | The commit associated with a prior version of the lockfile. |
|---|---|
| ... | Optional arguments; currently unused. |
| project | The project directory. If |
The commit used when reverting renv.lock. Note that this function
is normally called for its side effects.
The revert() function is currently only implemented for projects using
git for version control.