checkpoint v0.4.5


Monthly downloads



Install Packages from Snapshots on the Checkpoint Server for Reproducibility

The goal of checkpoint is to solve the problem of package reproducibility in R. Specifically, checkpoint allows you to install packages as they existed on CRAN on a specific snapshot date as if you had a CRAN time machine. To achieve reproducibility, the checkpoint() function installs the packages required or called by your project and scripts to a local library exactly as they existed at the specified point in time. Only those packages are available to your project, thereby avoiding any package updates that came later and may have altered your results. In this way, anyone using checkpoint's checkpoint() can ensure the reproducibility of your scripts or projects at any time. To create the snapshot archives, once a day (at midnight UTC) Microsoft refreshes the Austria CRAN mirror on the "Microsoft R Archived Network" server (<>). Immediately after completion of the rsync mirror process, the process takes a snapshot, thus creating the archive. Snapshot archives exist starting from 2014-09-17.

Functions in checkpoint

Name Description
checkpoint-package Install packages from snapshots on the checkpoint server for reproducibility
checkpoint Configures R session to use packages as they existed on CRAN at time of snapshot.
mranUrl Returns MRAN URL by querying options and defaults.
scanForPackages Scans a project (or folder) for references to packages.
checkpointArchives List checkpoint archives on disk.
getAccessDate Returns the date the snapshot was last accessed.
getValidSnapshots Read list of available snapshot dates from MRAN.
checkpointRemove Remove checkpoint archive from disk.
unCheckpoint Undo the effect of checkpoint by resetting .libPath to user library location.
setSnapshot Set default CRAN repository to MRAN snapshot date.
No Results!

Vignettes of checkpoint

No Results!

Last month downloads


Date 2018-09-07
Copyright Microsoft
License GPL-2
VignetteBuilder knitr
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2018-09-07 21:06:41 UTC; richcala
Repository CRAN
Date/Publication 2018-09-10 18:40:02 UTC

Include our badge in your README