We’re excited to announce a new release of Packrat, a tool for making R projects more isolated and reproducible by managing their package dependencies.
This release brings a number of exciting features to Packrat that significantly improve the user experience:
Automatic snapshots ensure that new packages installed in your project library are automatically tracked by Packrat.
Bundle and share your projects with packrat::bundle() and packrat::unbundle() – whether you want to freeze an analysis, or exchange it for collaboration with colleagues.
Packrat mode can now be turned on and off at will, allowing you to navigate between different Packrat projects in a single R session. Use packrat::on() to activate Packrat in the current directory, and packrat::off() to turn it off.
Local repositories (ie, directories containing R package sources) can now be specified for projects, allowing local source packages to be used in a Packrat project alongside CRAN, BioConductor and GitHub packages (see this and more with ?“packrat-options”).
You can install the latest version of Packrat from GitHub with:
Packrat will be coming to CRAN soon as well.
If you try it, we’d love to get your feedback. Leave a comment here or post in the packrat-discuss Google group.
RStudio Package Manager 2022.07 now lets you publish your own binary packages, saving you time and frustration.
The Workbench homepage has been improved by offering more information at a glance, and by more accurately reporting information regarding session statuses.