history {renv} | R Documentation |
Use your version control system to find prior versions of the renv.lock
file that have been used in your project.
history(project = NULL)
project |
The project directory. If |
The history()
function is currently only implemented for projects using
git
for version control.
An R data.frame
, summarizing the commits in which renv.lock
has been mutated.
## Not run: # get history of previous versions of renv.lock in VCS db <- renv::history() # choose an older commit commit <- db$commit[5] # revert to that version of the lockfile renv::revert(commit = commit) ## End(Not run)