R/launchVisHyp.R

Defines functions launchVisHyp

Documented in launchVisHyp

#' Title Launch VisHyp
#'
#' @description
#' Launch the shiny application for the VisHyp package.
#'
#' @return None
#' @examples
#' if (interactive()) {
#'    launchVisHyp()
#' }
#'
#' @export

launchVisHyp <- function() {
  appDir <- system.file("VisHypShiny", package = "VisHyp")
  if (appDir == "") {
    stop("Could not find example directory. Try re-installing `VisHyp`.", call. = FALSE)
  }
  else {
    shiny::runApp(appDir, display.mode = 'normal')
  }

}
Pizzaknoedel/visualize-hyperparameter documentation built on Feb. 13, 2022, 8:11 a.m.