R/onLoad.R

Defines functions .onLoad

#' Adds the content of www to colorscale/
#'
#' @importFrom shiny addResourcePath
#'
#' @noRd
.onLoad <- function(...) {
  shiny::addResourcePath("colorscale", system.file('www', package = "colorscale"))
}
dreamRs/colorscale documentation built on April 17, 2020, 8:38 a.m.