R/onload.R

Defines functions .onLoad

#' Adds the content of www to www/ from this package
#'
#' @importFrom shiny addResourcePath
#'
#' @noRd
.onLoad <- function(...) {
  shiny::addResourcePath('www', system.file('app/www', package = 'packagerecs'))
}
sharlagelfand/packagerecs documentation built on May 29, 2019, 1:26 p.m.