R/app.R

Defines functions app

Documented in app

#' Launch App
#'
#' @return
#' @export
#'
#' @examples
app <- function() {
  appDir <- system.file("shiny", package = "biophysr")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `biophysr`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal",  launch.browser = TRUE)
}
brentscott93/biophysr documentation built on Sept. 14, 2021, 2:35 a.m.