R/zzz.R

Defines functions .onLoad

#' Adds the content of www to shinyGovstyle/
#'
#' @importFrom shiny addResourcePath
#'
#' @noRd
#'
.onLoad <- function(...) {
  shiny::addResourcePath('shinyGovstyle',
                         system.file('www', package = 'shinyGovstyle')
  )
}

Try the shinyGovstyle package in your browser

Any scripts or data that you put into this service are public.

shinyGovstyle documentation built on March 18, 2022, 7:24 p.m.