R/shinyhelper_demo.R

Defines functions shinyhelper_demo

Documented in shinyhelper_demo

#' Launch the Example App
#' 
#' An example app demonstrating the use of the \code{shinyhelper} package.
#' 
#' @export
#' 
#' @examples 
#' \dontrun{
#' if (interactive()) {
#'   shinyhelper_demo()
#' }
#' }
#' 
shinyhelper_demo <- function() {
  
  if (!requireNamespace(package = "shinyhelper")) {
    message("Package 'shinyhelper' is required to run this function")
  }
  
  shiny::runApp(system.file("example", package = "shinyhelper", mustWork = TRUE))
}

Try the shinyhelper package in your browser

Any scripts or data that you put into this service are public.

shinyhelper documentation built on Nov. 9, 2019, 5:07 p.m.