R/app.R

Defines functions run_jqbr_demo

Documented in run_jqbr_demo

#' run_jqbr_demo
#'
#' Run the jqbr demo app
#'
#' @return A Shiny app
#'
#' @examples
#'
#' if (interactive()) {
#'   run_jqbr_demo()
#' }
#' @export
run_jqbr_demo <- function() {
  appDir <- system.file("app", package = "jqbr")
  if (appDir == "") {
    stop(
      "Could not find example directory. Try re-installing `jqbr`.",
      call. = FALSE
    )
  }

  shiny::runApp(appDir, display.mode = "normal")
}

Try the jqbr package in your browser

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

jqbr documentation built on Sept. 9, 2025, 5:30 p.m.