R/zzz.R

Defines functions .onAttach

.onUnload <- function (libpath) {
  library.dynam.unload("iptools", libpath)
}

.pkgenv <- new.env(parent=emptyenv())

.onAttach <- function(...) {

  cached_country_cidrs <- list()
  assign("cached_country_cidrs", cached_country_cidrs, envir=.pkgenv)

}

Try the iptools package in your browser

Any scripts or data that you put into this service are public.

iptools documentation built on Sept. 10, 2021, 5:06 p.m.