-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preserve explicit renv dependency #916
Comments
Workaround: Fall back to use packrat for dependency detection (which internally uses options(rsconnect.packrat = TRUE) |
This issue highlights a difference between renv and packrat: we could disable the implicit packrat dependency. rsconnect/R/bundlePackagePackrat.R Lines 179 to 185 in e7a434a
|
…cies side-effect: an renv dependency is included when consuming an renv.lock, as there is no way to distinguish between a code-dependency and bootstrapping-dependency. fixes #916
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 |
…cies (#917) * use renv::dependencies rather than renv::snapshot to compute dependencies side-effect: an renv dependency is included when consuming an renv.lock, as there is no way to distinguish between a code-dependency and bootstrapping-dependency. fixes #916 * test updates showing additional renv dependency * announce fix
Given the Shiny application
The renv package is not included in the set of required packages due to:
rsconnect/R/bundlePackageRenv.R
Lines 74 to 77 in e7a434a
Created on 2023-07-18 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: