R/global.R

Defines functions .onAttach .onLoad

globalVariables(c("clim_trends", "Age", "Proxy", "y", "xmin", "xmax", "xmid",
                  "lon", "lat"))

#' @noRd
.onLoad <- function(libname, pkgname) {
  shiny::addResourcePath("sbs", system.file("www", package = "shinyBS"))
}

#' @noRd
.onAttach <- function(libname, pkgname) {
  shiny::addResourcePath("sbs", system.file("www", package = "shinyBS"))
}
MartinSchobben/timemachine documentation built on Dec. 31, 2020, 3:12 p.m.