R/runGui.R

Defines functions runGui

Documented in runGui

#' @title Run RawHummus Gui
#' @description Run RawHummus Gui
#' @author Yonghui Dong
#' @import shiny shinydashboardPlus shinyFiles shinyMatrix shinyvalidate shinycustomloader purrr dplyr plotly RColorBrewer rmarkdown markdown
#' @importFrom shinydashboard sidebarMenu
#' @importFrom kableExtra row_spec
#' @importFrom data.table address
#' @importFrom RaMS pmppm grabMSdata
#' @export
#' @return Gui
#' @examples
#' if(interactive()){}

runGui <- function() {
  appDir <- system.file("shiny", "Gui", package = "RawHummus")
  if (appDir == "") {
    stop("Could not find Shiny Gui directory. Try re-installing `RawHummus`.", call. = FALSE)
  }

  shiny::runApp(appDir, display.mode = "normal")
}
YonghuiDong/RawHummus documentation built on Nov. 30, 2022, 7:31 p.m.