The history() function can be used to search for prior versions of the
renv.lock file used within a project.
Usage
history(project = NULL)
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.
Details
The history() function is currently only implemented for projects using
git for version control.