| generate_dependency_manifest | R Documentation |
Creates a JSON manifest describing the packages an app needs. This manifest is written into the Electron app and used by the auto-download and container strategies to install packages at runtime.
generate_dependency_manifest(
packages,
language,
repos = NULL,
index_urls = NULL,
local_packages = character(0),
requirements = NULL
)
packages |
Character vector of package names. |
language |
Character string: "r" or "python". |
repos |
List of R repository URLs (for language = "r"). |
index_urls |
List of Python index URLs (for language = "python"). |
local_packages |
Character vector. Names of R packages installed from
|
requirements |
Character vector. For Python, the requirement specs to
install, with their versions and environment markers. |
Character string of JSON content.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.