R/shinyReadme.R

Defines functions shinyReadme

shinyReadme <- function() {
  appDir <- system.file("shinyReadme", package = "shinyReadme")
  if (appDir == "") {
    stop(
      "Could not find Directory, Try re-install",
      call. = FALSE
    )
  }

  shiny::runApp(
    appDir,
    launch.browser = TRUE,
    display.mode = "normal"
  )
}
jhk0530/shinyReadme documentation built on Aug. 7, 2024, 4:48 p.m.