runAppx {shinyDTC}R Documentation

runAppx

Description

Runs an example Shiny app via shiny::runExample().

Usage

runAppx(example = "mini", x = NULL, ...)

Arguments

example

character: name of the example to run, or NA to list the available examples

x

data frame: data to pass to the app

...

further parameter given to shiny::runExample()

Details

Note that for running a Shiny app more libraries might be necessary.

Value

invisibly the (modified) data set x

Examples

# Example requires the use of a `shiny` app (See Vignette)
# List all available examples
runAppx(NA)

## Not run: 
# Run the "mini" example app
runAppx("mini")

# Run with a dataset passed to the app
check <- data.frame(a = 1:9)
runAppx("mini", x = check)

# Can also pass arguments to shiny::runExample
runAppx("mini", display.mode = "showcase")

## End(Not run)

[Package shinyDTC version 0.1.0 Index]