R/launch_shiny.R

Defines functions launch_shiny

#' @export
launch_shiny <- function() {
  appDir <- system.file("shiny", package = "tiltR")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `mypackage`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
odaniel1/tiltR documentation built on May 6, 2020, 9:34 a.m.