Integrate Posit Connect with Posit Cloud

Posit 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 RStudio IDE, including the ability to publish content to Posit Connect. If your users are using Posit Cloud to publish content to Posit Connect, there are some caveats that you should be aware of:

Rewriting package-proxy repository definitions

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

[RPackageRepository "CRAN"]
URL = https://cran.rstudio.com

For more information, see the r-package-repositories section.

Making all Posit Cloud deployments restore from Posit Package Manager

Because Posit Cloud uses two repository settings to achieve its fallback behavior, you 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 Posit Package Manager you prefer that packages restore from.