R/runMovieApp.R

Defines functions runMovieApp

#' @export
#'
runMovieApp <- function() {
  appDir <- system.file("movieapp-shiny", "MovieApp", package = "ptds2019FinalG4")
  if (appDir == "") {
    stop(
      # REPLACE N BY YOUR GROUP NUMBER AND DELETE THIS COMMENT
      "Could not find example directory. Try re-installing ptds2019hw4gN.",
      call. = FALSE
    )
  }

  shiny::runApp(appDir, display.mode = "normal")

}
monavarro/ptds2019FinalG4 documentation built on Dec. 19, 2019, 4:08 a.m.