#' Run shiny app
#'
#' @param display.mode display mode
#' @param \dots seeĀ \code{\link[shiny]{runApp}}
#' @export
#' @examples
#' \dontrun{
#' app()
#' }
app <- function(display.mode = "normal", ...) {
appDir <- system.file("shiny", package = "tweetstorm")
if (appDir == "") {
stop("Could not find. Try re-installing `tweetstorm`.", call. = FALSE)
}
shiny::runApp(appDir, display.mode = display.mode, ... )
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.