Nothing
##-----------------------------------------------------------------------------------
## run Shiny Gui
##-----------------------------------------------------------------------------------
#' Run Web-Based BEANZ application
#'
#' Call Shiny to run \code{beanz} as a web-based application
#'
#' @export
#'
bzShiny <- function() {
if (!requireNamespace("shiny", quietly = TRUE)) {
stop("Shiny needed for this function to work. Please install it.",
call. = FALSE)
}
if (!requireNamespace("shinythemes", quietly = TRUE)) {
stop("shinythemes needed for this function to work. Please install it.",
call. = FALSE)
}
if (!requireNamespace("DT", quietly = TRUE)) {
stop("DT needed for this function to work. Please install it.",
call. = FALSE)
}
appDir <- system.file("shiny", package = "beanz")
if (appDir == "") {
stop("Could not find Shiny directory. Try re-installing `beanz`.",
call. = FALSE)
}
shiny::runApp(appDir, display.mode = "normal");
}
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.