R
Dependency File
A dependency file is required to let Connect Cloud know which R libraries to include in a given deployment. Any content that has R code needs either a manifest.json file or an renv renv.lock file included in the GitHub repository.
Connect Cloud captures everything it needs from the dependency file, including the packages and R version.
What if I have both files?
If both manifest.json and renv.lock are present, Connect Cloud uses manifest.json and ignores renv.lock. If you manage your project with renv, you can delete manifest.json and Connect Cloud will use renv.lock instead.
See the How-To Guide for help creating the renv.lock or manifest.json file.
Version
Connect Cloud will attempt to use the R version specified in the manifest.json or renv.lock file included in your content’s GitHub repository.
Connect Cloud supports R versions 4.0.0 through 4.6.0.