#' Launch App Function
#'
#' @description This function launches the covid shiny app for the user
#'
#' @return Covid Shiny App
#'
#' @examples
#' \dontrun{
#' launch_app()
#' }
#'
#'
#' @export
launch_app <- function() {
appDir <- system.file("app", "myapp", package = "CovidShiny")
if (appDir == "") {
stop("Could not find example directory. Try re-installing `CovidShiny`.", 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.