#' A wrapper function to run the included Shiny App
#' @export
#' @import shiny
launchApp <- function() {
appDir <- system.file("shinyApp", package = "sensorOverlord")
if (appDir == "") {
stop(
"Could not find the Shiny App directory. Try reinstalling sensorOverlord",
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.