| app_dependencies | R Documentation |
Scans a Shiny app's source for the R or Python packages it uses, with the
same detection shinyelectron applies at build time. This is useful before a
shinylive build, in CI especially, because shinylive::export() compiles the
WebAssembly bundle from the packages installed in the current session, so an
app's dependencies must be installed before conversion.
app_dependencies(appdir, app_type = NULL)
appdir |
Character string. Path to the app or multi-app suite directory. |
app_type |
Character string or |
Character vector of detected package names, excluding base R packages (for R) or the Python standard library (for Python).
# Detect the packages a bundled example app uses
app_dependencies(example_app("r"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.