examples/examples-history.R

\dontrun{

# 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)

}
wnattt/renv documentation built on Dec. 23, 2021, 5:19 p.m.