checkpoint v0.4.0


Monthly downloads



by Andrie de Vries

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.
checkpointArchives List checkpoint archives on disk.
unCheckpoint Undo the effect of checkpoint by resetting .libPath to user library location.
getAccessDate Returns the date the snapshot was last accessed.
getValidSnapshots Read list of available snapshot dates from MRAN.
checkpointRemove Remove checkpoint archive from disk.
mranUrl Returns MRAN URL by querying options and defaults.
setSnapshot Set default CRAN repository to MRAN snapshot date.
No Results!

Last month downloads


Date 2017-04-10
Copyright Microsoft
License GPL-2
VignetteBuilder knitr
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2017-04-12 12:20:17 UTC; adevries
Repository CRAN
Date/Publication 2017-04-12 13:32:01 UTC

Include our badge in your README