shiny_demo: Run a Shiny App from a Package

Description Usage Arguments

View source: R/shiny_demo.R

Description

shiny_demo is a user-friendly interface to running Shiny applications from R packages. For package developers, simply put Shiny apps in the inst/shiny directory in your package. This function will find any apps located there in the installed package.

Usage

1
2
shiny_demo(topic, package = NULL, lib.loc = NULL,
  verbose = getOption("verbose"), includeAllInstalled = FALSE)

Arguments

topic

the topic/app which should be run.

package

the package which contains the app to run. If NULL the first app with the given topic name will be run.

lib.loc

a character vector of directory names of R libraries, or NULL. The default value of NULL corresponds to all libraries currently known. If the default is used, the loaded packages are searched before the libraries.

verbose

a logical. If TRUE, additional diagnostics are printed.

includeAllInstalled

a logical. If TRUE and topic not specified, all Shiny apps from all installed packages will be listed.


jbryer/ShinyDemo documentation built on May 17, 2017, 12:49 p.m.