Nothing
#' Run a the AtlasMaker Shiny Demo
#'
#' @param app defaults to demo1
#' @return Demo of AtlasMaker, a Shiny app that displays 4 tabs of Leaflet maps. See package vignette for code.
#' @export
#' @importFrom shiny runApp
shiny_AtlasMaker <- function(
app = c('demo1')
) {
pkg_dir <- find.package('AtlasMaker')
if(!app %in% list.dirs(pkg_dir, full.names = FALSE)) {
stop('Invalid application name.')
}
app_dir <- paste0(pkg_dir, '/', app[1])
shiny::runApp(appDir = app_dir)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.