#' Title Example for shiny app
#'
#' @export
#' @importFrom shiny runApp
#'
runExample <- function() {
AppDir <- system.file("examples", "app.R", package = "rLab5")
if (AppDir == "") {
stop("Could not find example directory. Try re-installing `rLab5`.", 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.