We’re excited to announce Packrat, a new tool for managing the packages your R project depends on.
If you’ve ever been frustrated by package dependencies, whether juggling the packages needed by your own projects or getting someone else’s project to work, Packrat is for you. Similar in spirit to Bundler, Packrat understands package dependencies and manages them inside a private, project-specific library.
Packrat makes your project more isolated, portable, and reproducible. Because your project’s package dependencies travel with it, you control the environment in which your code runs. Your results are easy to duplicate on other machines, whether your own or your collaborators’.
We built Packrat to help us create self-sufficient R projects for deployment, but we think it has many other use cases. Lots more information, including installation instructions, can be found at the Packrat project page:
If you try it, we’d love to get your feedback. Leave a comment here or post in the packrat-discuss Google group.