R/runExample.R

Defines functions runExample

Documented in runExample

#' @title The Shiny Program for the 'journalabbr' Package
#' @importFrom shiny runApp
#'
#' @export
runExample <- function() {
  appDir <- system.file("shiny-examples", "appckwx", package = "journalabbr")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `journalabbr`.", call. = FALSE)
  }

  runApp(appDir, display.mode = "normal")
}

Try the journalabbr package in your browser

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

journalabbr documentation built on May 1, 2021, 5:06 p.m.