R/onLoad.R

Defines functions .onLoad

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

Try the shinymanager package in your browser

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

shinymanager documentation built on Sept. 27, 2022, 9:06 a.m.