R/bayesbr_app.R

Defines functions bayesbr_app

Documented in bayesbr_app

#'@title The bayesbr Application
#'@name bayesbr_app
#'@aliases bayesbr_app, bayesbr_shiny
#'@description A function that runs the shiny application designed for using bayesbr package functions through a visual interface.
#'@usage bayesbr_app()
#'@details See the application manual: How to use bayesbr shiny app in vignnetes of bayesbr package.
#'@seealso \code{\link{bayesbr}}
#'@export
bayesbr_app <- function() {
  appDir <- system.file("shiny", "shiny_bayesbr", package = "bayesbr")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `bayesbr`.", call. = FALSE)
  }

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

Try the bayesbr package in your browser

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

bayesbr documentation built on July 17, 2021, 1:07 a.m.