R/app.R

Defines functions app

Documented in app

#' Shiny app 1
#' @description launches shiny app 1
#' @seealso 
#' @export
app <- 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.