Use packrat to make your R projects more:
Isolated: Installing a new or updated package for one project
won't break your other projects, and vice versa. That's because packrat gives
each project its own private package library.
Portable: Easily transport your projects from one computer to
another, even across different platforms. Packrat makes it easy to install the
packages your project depends on.
Reproducible: Packrat records the exact package versions you
depend on, and ensures those exact versions are the ones that get installed
wherever you go.
Use init
to create a new packrat project,
snapshot
to record changes to your project's library, and
restore
to recreate your library the way it was the last time you
(or anyone!) took a snapshot.
Using these simple functions and sharing packrat's files lets you collaborate
in a shared, consistent environment with others as your project grows and
changes, and provides an easy way to share your results when you're done.