R/runBIGL.R

Defines functions runBIGL

Documented in runBIGL

#' Run the BIGL application for demonstrating response surfaces
#'
#' @param ... Pass parameters to \code{\link[shiny]{runApp}}
#' @export
#' @examples
#' \dontrun{
#'   runBIGL()
#' }
runBIGL <- function(...){

  if (requireNamespace("shiny", quietly = TRUE))
    shiny::runApp(appDir = system.file("ui", package = "BIGL"), ...)
  else
    stop("shiny package needs to be installed for the interactive application to work.")

}
openanalytics/BIGL documentation built on July 7, 2023, 7:49 a.m.