Closed aronatkins closed 1 year ago
Workaround: Fall back to use packrat for dependency detection (which internally uses renv::dependencies
and does not have an renv dependency removed).
options(rsconnect.packrat = TRUE)
This issue highlights a difference between renv and packrat: we could disable the implicit packrat dependency.
This issue may be causing folks problems out in the wild, as reported here: https://stackoverflow.com/questions/76711093/missing-dependency-from-rsconnect-when-deploying-shinyapps/76715457#76715457
Given the Shiny application
The renv package is not included in the set of required packages due to: https://github.com/rstudio/rsconnect/blob/e7a434a67f6e76d1179b6d666b21d4870ebbc48e/R/bundlePackageRenv.R#L74-L77
Created on 2023-07-18 with reprex v2.0.2