R/runApp.R

Defines functions launch_gameTracker

Documented in launch_gameTracker

#' Launch GameTracker
#' 
#' This function launches the gameTracker web app
#'
#' @return None
#' @export
launch_gameTracker <- function(){
  appDir <- system.file("app", package = "gameTracker")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `mypackage`.", call. = FALSE)
  }
  
  shiny::runApp(appDir, display.mode = "normal")
}
pmelgren/gameTracker documentation built on Jan. 2, 2020, 4:12 p.m.