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 Feb. 2, 2020, 2:21 a.m.