Run Shiny demonstration-apps
vw_shiny_demo(example = NULL, ...)
character
, name of the example to run; if NULL (default),
prints out a list of available examples
additional arguments passed to shiny::runApp()
invisible NULL, called for side-effects
vw_shiny_demo() # returns available examples
#> Available examples: "data-set-gapminder", "data-set-get", "data-set-montecarlo", "data-set-swap", "data-set-swap-run", "event-get", "signal-set-get"
# Run only in interactive R sessions
if (interactive()) {
vw_shiny_demo("data-set-get")
}