R/shinypixel.R

#' Run shiny app
#'
#' @param display.mode display mode
#' @param \dots seeĀ \code{\link[shiny]{runApp}}
#' @export
#' @examples
#' \dontrun{
#'   shinycollage()
#' }
shinycollage <- function(display.mode = "normal", ...) {
  appDir <- system.file("shiny", package = "collage")
  if (appDir == "") {
    stop("Could not find. Try re-installing `collage`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = display.mode, ... )
}
ThinkRstat/collage documentation built on May 6, 2019, 7:25 a.m.