#' 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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.