Commercial enterprise offerings

Announcing Public Package Manager and v1.1.6

portrait of Sean Lopp
Written by Sean Lopp
2020-07-01

Today we are excited to release version 1.1.6 of RStudio Package Manager and announce https://packagemanager.posit.co. This service builds on top of the work done by CRAN, to offer the R community:

  • Access to pre-compiled packages on Linux via install.packages resulting in significantly faster package install times on Linux systems including cloud servers, CI/CD systems, and Docker containers.
  • Historical checkpoints for CRAN enabling reproducible work, and even time travel, by freezing package dependencies with a one-line repository option.
  • Expanded Windows support for older versions of R, allowing you to access the latest versions of packages on older versions of R without compiling from source.

We invite everyone to try this service, but please note we do not currently support package binaries for Mac OS though we are considering adding support in the future. The easiest way to get started is by visiting the Package Manager Setup Page. You can also view frequently asked questions or learn more about RStudio Package Manager.

Relationship to CRAN

This service builds off of the work done by CRAN and is a supplement to RStudio’s popular CRAN mirror. If CRAN were a brewery, Package Manager would be your local liquor store; Package Manager wouldn’t be possible without CRAN, but we hope it makes it a little easier to install packages without having to go to the (literal) source each time.

For package authors, before a package is available on Package Manager it must be accepted, tested, and distributed on CRAN. Package Manager watches for those updates and then carefully builds updated or new packages on additional operating systems and R versions, finally adding them as a versioned checkpoint.

For R users, Package Manager acts like a regular CRAN mirror, ensuring all the code you know how to write automatically works. Note that Package Manager can lag behind CRAN by a few days, so if you need the latest packages you can add both Package Manager and CRAN to your repo option.

Community Integrations

In addition to using the Public Package Manager directly, R users can benefit from community integrations that access the service automatically:

  • The renv package helps R users manage package environments over time, and is able to use the service to provide faster install times and increase cross-platform project portability.

  • The actions package provides GitHub Actions for package authors taking advantage of CI/CD workflows such as automated testing. The package uses Public Package Manager to speed up actions and eliminate redundant package compilation.

  • The popular rocker project gives R users a convenient way to work with Docker. This ecosystem increasingly takes advantage of Public Package Manager to provide faster package installs within a container as well as versioned installs for reproducible research.

If your community project would benefit from Public Package Manager please create a topic on the RStudio Community.

New Updates in RStudio Package Manager v1.1.6

In addition to https://packagemanager.posit.co, the 1.1.6 release offers the community and customers incremental updates including:
- Access to an API to easily integrate Package Manager with other systems and services
- Support for R 4.0 and Ubuntu 20
- More robust access and debugging when distributing packages from Git (applicable to on-premise customers only)

Please review the full release notes and consider upgrading to the latest version.