R/runOdyssey.R

Defines functions runOdyssey

Documented in runOdyssey

#' 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 26, 2017, 11:08 p.m.