#' RunApp
#'
#' Run the application.
#'
#' @param launchBrowser Logical indicating to open the app in a newly open web browser
#'
#' @return NULL (invisibly)
#'
#' @examples
#' \dontrun{
#' RunApp()
#' }
#'
#' @export
RunApp <- function(launchBrowser = FALSE)
{
app <- shiny::shinyApp(AppUI, AppServer)
options(shiny.launch.browser = rstudioapi::viewer)
shiny::runApp(app, display.mode = 'normal', test.mode = TRUE)
return(invisible(NULL))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.