revert: Revert Lockfile

Description Usage Arguments Details

Description

Revert the lockfile to its contents at a prior commit.

Usage

1
revert(commit = "HEAD", ..., project = NULL)

Arguments

commit

The commit associated with a prior version of the lockfile.

...

Optional arguments; currently unused.

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.

Details

The revert() function is currently only implemented for projects using git for version control.


slopp/renv documentation built on July 6, 2019, 12:08 a.m.