Create a manifest.json file for Connect Cloud

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 a manifest.json file included in the GitHub repository.

What about renv?

Connect Cloud does not currently support renv and captures everything it needs from manifest.json, including package and R versions.

A manifest.json file can be generated by using the rsconnect library.

rsconnect::writeManifest()

File Location

The manifest.json file can either be in the root directory of the repository or in the subdirectory with the primary application file.