R/onLoad.R

Defines functions .onLoad

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

Try the shinydrive package in your browser

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

shinydrive documentation built on Sept. 29, 2022, 9:06 a.m.