Updated checkpoint package: faster reproducibility with more feedback

March 18, 2015
By

(This article was first published on Revolutions, and kindly contributed to R-bloggers)

A new version of the checkpoint package for R has just been released on CRAN. With the checkpoint package, you can easily:

  • Write R scripts or projects using CRAN package versions from a specific point in time;
  • Share R scripts with others that will automatically install the appropriate package versions (no need to manually install CRAN packages);
  • Write R scripts that use older versions of packages, or packages that are no longer available on CRAN;
  • Install packages (or package versions) visible only to a specific project, without affecting other R projects or R users on the same system;
  • Manage multiple projects that use different package versions;
  • Write and share code R whose results can be reproduced, even if new (and possibly incompatible) package versions are released later.

The biggest change with this new version of checkpoint is that it checks whether package versions have already been installed for your project: running a checkpoint'ed script for the second time has virtually no overhead now. There's also better feedback during the scanning phase while it determines which (if any) packages need to be installed. You can also now control where packages are installed on your system (the default is a .checkpoint folder in your home directory), and check the specific version of R in use when checkpoint is called.

If you're interested in learning more about how checkpoint works, you can read the new vignette Using checkpoint for reproducible research, or follow its development at the checkpoint Github page. You can install checkpoint from CRAN now by running install.packages("checkpoint") at the R command line.

MRAN: checkpoint: Install Packages from Snapshots on the Checkpoint Server for Reproducibility

To leave a comment for the author, please follow the link and comment on their blog: Revolutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)