#' Launch the Example App
#'
#' An example app demonstrating the use of the \code{shinyhelper} package.
#'
#' @export
#'
#' @examples
#' \dontrun{
#' if (interactive()) {
#' shinyhelper_demo()
#' }
#' }
#'
shinyhelper_demo <- function() {
if (!requireNamespace(package = "shinyhelper")) {
message("Package 'shinyhelper' is required to run this function")
}
shiny::runApp(system.file("example", package = "shinyhelper", mustWork = TRUE))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.