R/runOdyssey.R

#' Run odyssey app function
#' @keywords odyssey shiny
#' @export
#' @examples
#' This function runs the odyssey application.
#' odyssey()

runOdyssey <- function() {
  wd<<-getwd()
  appDir <- system.file("odyssey", package = "odyssey")
  if (appDir == "") {
    stop("Could not find directory. Try re-installing `odyssey`.", call. = FALSE)
  }

  shiny::runApp(appDir)
}
swebb1/odyssey documentation built on May 30, 2019, 9:37 p.m.