R/bullwhipgame.R

#' @export
bullwhipgame <- function() {
  appDir <- system.file("shiny", package = "bullwhipgame")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `bullwhipgame`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}

Try the bullwhipgame package in your browser

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

bullwhipgame documentation built on May 1, 2019, 9:21 p.m.