When deploying content using rpy2, the project will usually depend on R libraries that need to be available on Connect at deploy time.
The manifest.json generated during deploy should handle this and install R dependencies when those are listed in the manifest, but rsconnect-python currently is unable to detect that an renv.lock exists and inject those in the manifest.
We need to have renv.lock detection and manifest injection similar to what the publisher does:
When deploying content using
rpy2, the project will usually depend on R libraries that need to be available on Connect at deploy time.The
manifest.jsongenerated during deploy should handle this and install R dependencies when those are listed in the manifest, butrsconnect-pythoncurrently is unable to detect that anrenv.lockexists and inject those in the manifest.We need to have
renv.lockdetection and manifest injection similar to what the publisher does: