R/shinyapp1.R

Defines functions shinyapp1

Documented in shinyapp1

#' Shiny app 1
#' @description launches shiny app 1
#' @export
shinyapp1 <- function() {
  appDir <- system.file("shiny-examples", "shinyapp1", package = "Strategy")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `mypackage`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}
DanielBonnery/Strategy documentation built on Dec. 17, 2021, 4:03 p.m.