inst/doc/runtime-strategies.R

## -----------------------------------------------------------------------------
#| include: false
library(shinyelectron)


## -----------------------------------------------------------------------------
#| eval: false
# # Language autodetected from files in appdir; shinylive is the default strategy
# export(
#   appdir = "my-app",
#   destdir = "output"
# )
# 
# # Equivalent, fully explicit
# export(
#   appdir = "my-app",
#   destdir = "output",
#   app_type = "r-shiny",
#   runtime_strategy = "shinylive"
# )
# 
# # Python
# export(
#   appdir = "my-py-app",
#   destdir = "output",
#   app_type = "py-shiny",
#   runtime_strategy = "shinylive"
# )


## -----------------------------------------------------------------------------
#| eval: false
# export(
#   appdir = "my-app",
#   destdir = "output",
#   runtime_strategy = "system"
# )


## -----------------------------------------------------------------------------
#| eval: false
# export(
#   appdir = "my-app",
#   destdir = "output",
#   runtime_strategy = "bundled"
# )


## -----------------------------------------------------------------------------
#| eval: false
# export(
#   appdir = "my-app",
#   destdir = "output",
#   runtime_strategy = "auto-download"
# )


## -----------------------------------------------------------------------------
#| eval: false
# export(
#   appdir = "my-app",
#   destdir = "output",
#   runtime_strategy = "container"
# )

Try the shinyelectron package in your browser

Any scripts or data that you put into this service are public.

shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.