R/runApp.R

Defines functions runAppAntaresViz

Documented in runAppAntaresViz

#' Run app antaresViz
#' 
#' \code{runAppAntaresViz} run antaresViz App.
#' 
#' @return 
#' an App Shiny. 
#' 
#' @import shiny shinydashboard ggplot2 ggrepel ggforce sp stringr shinyFiles
#' @importFrom shinyWidgets useShinydashboard
#' @importFrom DT renderDT DTOutput
#' @importFrom colourpicker colourInput updateColourInput
#' @export
runAppAntaresViz <- function() {
  ctrl <- suppressPackageStartupMessages({
      shiny::runApp(system.file("application", package = "antaresVizMedTSO") , launch.browser = TRUE)
  })
  suppressWarnings(try(rm(list = c("directoryInput", "readDirectoryInput", 
                                   "updateDirectoryInput"), envir = .GlobalEnv), silent = TRUE))
  gc(reset = TRUE)
  invisible(TRUE)
}
rte-antares-rpackage/antaresVizMedTSO documentation built on April 27, 2022, 1:28 a.m.