R/blkboxUI.R

Defines functions blkboxUI

Documented in blkboxUI

#' blkbox User Interface
#'
#' @author Zachary Davies
#' @description Invokes the shiny interface for blkbox.
#' @keywords Shiny, blkbox
#' @examples
#'\donttest{
#' blkboxUI()
#'}
#' @export
blkboxUI <- function() {
  appDir <- system.file("shiny", "blkboxUI", package = "blkbox")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `blkbox`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}

Try the blkbox package in your browser

Any scripts or data that you put into this service are public.

blkbox documentation built on May 2, 2019, 8:32 a.m.