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"))
}

shinymanager_con <- new.env(hash=TRUE)
datastorm-open/shinymanager documentation built on May 18, 2024, 10:50 p.m.