R/zzz.R

Defines functions .onLoad

.onLoad <- function(lib, pkg){
  utils::data("shp_df", package = "ggswissmaps", 
              envir = parent.env(environment()))
  maps2 <<- lapply(shp_df, maps2_)
  # rm(shp_df, envir = parent.env(environment()))
  maps2
}
gibonet/ggswissmaps documentation built on Sept. 18, 2021, 4:42 a.m.