R/get_arbs_shiny.R

Defines functions get_arbs_shiny

Documented in get_arbs_shiny

#' Run \{aRbs\} shiny app
#'
#' Shiny app displaying the functionality of \code{get_arbs()}.
#' @export

# get_arbs_shiny <- function() {
#   appDir <- system.file("shiny-examples", "shiny",
#                         package = "aRbs")
#   if (appDir == "") {
#     stop("Could not find example directory. Try re-installing `aRbs`.", call. = FALSE)
#   }
#
#   shiny::runApp(appDir, display.mode = "normal")
# }

get_arbs_shiny <- function() {
  shiny::shinyApp(ui, server, options = c("launch.browser" = TRUE))
}

Try the aRbs package in your browser

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

aRbs documentation built on April 24, 2021, 5:08 p.m.