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
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.
- ...
parameters passed to [shiny::runApp] or to the Shiny app itself.