#' @title Run landsatviewer shiny app
#' @param ... Additional arguments passed to `shiny::runApp`
#' @export
run_app <- function(...) {
appDir <- system.file("shiny", "landsatviewer", package = "landsatviewer")
if (appDir == "") {
stop(
"Could not find example directory. Try re-installing `landsatviewer`.",
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.