R/init.R

.global <- new.env()

initResourcePaths <- function() {
  if (is.null(.global$loaded)) {
    shiny::addResourcePath(
      prefix = 'shinyDash',
      directoryPath = system.file('shinyDash', package='ShinyDash'))
    .global$loaded <- TRUE
  }
  HTML("")
}
trestletech/ShinyDash documentation built on May 31, 2019, 7:47 p.m.