Hi everyone, we have a python streamlit app, which using rsconnect cli to deploy to posit connection with command "rsconnect deploy streamlit --...". When deploying, it's able to detect python "requirements.txt file" and download package dependencies. Then in the deployed app, we can use those pre-installed python packages.
For now, our new feature requires an R environment and its required packages dependencies. (Using the rpy2 python module to run R code). The posit server does have an R environment running, but it doesn't include the specific packages we wish to include(these packages are open-sourced). However, the "rsconnect deploy streamlit" didn't offer an option to install required R packages when deploying. Is there anyway to resolve this issue? thanks!