checkpoint vs packrat

616 views
Skip to first unread message

Paolo Cavatore

unread,
Nov 12, 2014, 5:30:39 PM11/12/14
to rro...@googlegroups.com

What are the main differences (strengths and weaknesses) between checkpoint and other reproducibility packages like packrat?

Chris Mosetick

unread,
Nov 12, 2014, 5:43:11 PM11/12/14
to rro...@googlegroups.com
Hi Paolo,
checkpoint is a more comprehensive package from a reproduction standpoint. This is because it works in tandem with a server side solution, the checkpoint-server. Most of the burden is on the checkpoint-server, not the end user. Packrat does not have a concept of client or server, and a user could still find themselves in "dependency hell". Packrat requires a user to rsync, scp, or some how get your Packrat file and code to another user. That can be a cumbersome and tedious process.
With checkpoint package, all you need to reference in your code is the snapshot date, and then you can commit your R code to a public or private repository, such as github.com. Then all another user has to do is pull your R code down, run it, and they will be using the same packages as you, because they are using the same snapshot date.

In short, the checkpoint-server brings order to the world of R packages. It knows exactly how things looked at a given point in time, and everyone sees the same stuff, therefore everyone is on the same playing field.

For more information please review this page:

Chris Mosetick
Revolution Analytics

On Wednesday, November 12, 2014 2:30:39 PM UTC-8, Paolo Cavatore wrote:

What are the main differences (strengths and weaknesses) between checkpoint and other reproducibility packages like packrat?

Revolution R Plus

Subscribe to Technical Support & Indemnification for R

David Smith

unread,
Nov 12, 2014, 6:12:07 PM11/12/14
to pcav...@gmail.com, rropen
One other thing I'll add is that checkpoint insists that you use a set of package versions that all existed on the same date (in the sameCRAN snapshot). We do this to keep things simple for the user, and also because CRAN tests all packages in concert as they exist at a specific point in time.

That said, if you do find yourself needing to mix-and-match packages versions that existed on *different* dates, you'll need to use packrat for that. Packrat also supports packages not on CRAN (e.g. on GitHub) and checkpoint doesn't support those (although we have some ideas for the future).

Cheers,
# David

-- 
David M Smith <da...@revolutionanalytics.com>
Chief Community Officer, Revolution Analytics  http://blog.revolutionanalytics.com
Tel: +1 (650) 646-9523 (Chicago IL, USA)
Twitter: @revodavid


--
You received this message because you are subscribed to the Google Groups "Revolution R Open" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rropen+un...@googlegroups.com.
To post to this group, send email to rro...@googlegroups.com.
Visit this group at http://groups.google.com/group/rropen.
To view this discussion on the web visit https://groups.google.com/d/msgid/rropen/f394653c-727e-4b16-af32-364dc53eaf83%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages