R/runShiny.R

Defines functions runShiny

Documented in runShiny

#' Shiny App for FRmatch Demo
#'
#' This function launches the Shiny App for FRmatch Demo.
#'
#' @import shiny
#' @export


runShiny <- function() {
  appDir <- system.file("shinyapp", package = "FRmatch")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `FRmatch`.", call. = FALSE)
  }
  shiny::runApp(appDir, display.mode = "normal")
}
JCVenterInstitute/FRmatch documentation built on Dec. 15, 2022, 2:30 p.m.