#' A function to run the shiny app
#' @export
run_example <- function() {
appDir <- system.file("shiny-examples", "maniTools", package = "maniTools")
if (appDir == "") {
stop("Could not find example directory. Try re-installing `maniTools`.", call. = FALSE)
}
shiny::runApp(appDir, display.mode = "normal")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.