#' to run the shiny web application.
#' @export
runviewer <- function() {
if (!requireNamespace("shiny", quietly = TRUE)) {
stop("Package \"shiny\" needed for this function to work. Please install it from CRAN",
call. = FALSE)
}
shiny::runApp(system.file('shiny/africovidviewer', package='africovid'))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.