Learn R Programming

renv (version 0.3.0-40)

revert: Revert Lockfile

Description

Revert the lockfile to its contents at a prior commit.

Usage

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

Arguments

project

The project directory. If NULL, then the active project will be used. If no project has been specifically activated, the current working directory is used.

commit

The commit associated with a prior version of the lockfile.

Details

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