vw_shiny_demo: Run Shiny demonstration-apps

View source: R/shiny-demo.R

vw_shiny_demoR Documentation

Run Shiny demonstration-apps

Description

Run Shiny demonstration-apps

Usage

vw_shiny_demo(example = NULL, ...)

Arguments

example

character, name of the example to run; if NULL (default), prints out a list of available examples

...

additional arguments passed to shiny::runApp()

Value

invisible NULL, called for side-effects

Examples

  vw_shiny_demo() # returns available examples

  # Run only in interactive R sessions
  if (interactive()) {
    vw_shiny_demo("data-set-get")
  }

vegawidget documentation built on Sept. 3, 2023, 9:07 a.m.