#' @name runDirinputExample
#'
#' @title Runs a demo app with the code
#'
#' @details
#' Runs a demo app with the code. See the code in the example_application folder for
#' how this is accomplished.
#'
#' @export
runDirinputExample <- function() {
appDir <- system.file("example_application", package = "shinyDirectoryInput")
if (appDir == "") {
stop("Could not find example directory. Try re-installing `shinyDirectoryInput`.", 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.