R/runShiny.R

Defines functions runShiny

#' @export
#' 
runShiny <- function() {
  appDir <- system.file("shinyApp", package = "LtAtStructuR")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `LtAtStructuR`.", call. = FALSE)
  }
  
  shiny::runApp(appDir, display.mode = "normal")
}
romainkp/LtAtStructuR documentation built on Aug. 24, 2024, 3:38 p.m.