R/run_app.R

Defines functions run_app

Documented in run_app

#' Launch the app
#'
#' @export
#'
run_app <- function() {
  appDir <- system.file("BibliographeR", package = "bibliographeR")
  if (appDir == "") {
    stop("Could not find application directory. Try re-installing `bibliographeR`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
cecilesauder/bibliographeR documentation built on July 27, 2019, 7:34 a.m.