View source: R/build-templates.R
| process_templates | R Documentation |
Orchestrates the Electron project assembly: renders shared Whisker templates, copies the appropriate backend modules, sets up Dockerfiles for container strategy, generates package.json, and copies brand assets. Each step is a focused helper in this file.
process_templates(
output_dir,
app_name,
app_type,
runtime_strategy = "shinylive",
icon = NULL,
config = NULL,
sign = FALSE,
is_multi_app = FALSE,
apps_manifest = NULL,
platform = NULL,
verbose = TRUE
)
output_dir |
Character destination directory |
app_name |
Character application display name |
app_type |
Character application type |
runtime_strategy |
Character resolved runtime strategy |
icon |
Character path to icon file or NULL |
config |
List of configuration values from config file (optional) |
platform |
Character vector of target platforms, used to check that
the tray can read its icon (see |
verbose |
Logical whether to show progress |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.