Skip to content

Integration with Posit Cloud#

RStudio is now Posit!

Our professional products have been renamed to Posit Connect, Posit Workbench, Posit Package Manager, Posit Cloud, and Posit Academy so it’s easier for folks to understand that we support more than just R. Please review our Blog post/FAQ to answer commonly asked questions about the rebrand.

Posit Cloud, formerly RStudio Cloud, is a product geared towards bringing R to everyone. A core feature of Posit Cloud is the ability to create projects with as-needed instances of the standard RStudio (IDE), including the ability to publish content to Posit Connect, formerly RStudio Connect. If your users are using Posit Cloud to publish content to Posit Connect, there are some caveats that you should be aware of:

  1. Posit Cloud uses a package proxy replacement for CRAN, which shows up in the packrat.lock and manifest.json files as http://package-proxy
  2. Posit Cloud supports a fallback repository for its packages which is listed as RSPM in the repos R option and points to a CRAN mirror.
  3. When deployments from Posit Cloud rebuild on Connect, users may see a message saying that it couldn't contact http://package-proxy before successfully building.

Suppressing The package-proxy Message#

To prevent the package-proxy message from appearing in user deployments, override CRAN using the RPackageRepository configuration heading.

[RPackageRepository "CRAN"]

Making All Posit Cloud Deployments Restore From RSPM#

Because Posit Cloud uses two repository settings to achieve its fallback behavior, you will need to override both of them using the RPackageRepository configuration heading.

[RPackageRepository "CRAN"]
URL = https://my.package.manager.instance

[RPackageRepository "RSPM"]
URL = https://my.package.manager.instance

Replace https://my.package.manager.instance with the instance of RSPM you would like to prefer that packages restore from.