View source: R/export-stages.R
| check_single_target | R Documentation |
The bundled and auto-download strategies embed a runtime, or a
manifest for one, for a single platform and architecture, and it would
be packaged into every installer. A build that uses either one needs a
single target. export() checks this before anything is copied;
build_electron_app() and build_multi_app() check it again for
direct callers.
check_single_target(
strategies,
platform,
arch,
apps = NULL,
from_config = character(0)
)
strategies |
Character vector. The runtime strategy of the app, or of each app in a suite. |
platform, arch |
Character vectors. The resolved targets. |
apps |
List or |
from_config |
Character vector. The settings that supplied the
targets, from |
Invisibly TRUE. Stops with an error of class
shinyelectron_single_target otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.