R/zzz.R

Defines functions .onLoad

tools <- new.env(parent = asNamespace("tools"))

.onLoad <- function(...) {
  source(file = system.file(file.path("tools", "urltools.R"), package = "urlchecker"), local = tools)
  if (getRversion() < "4.0.0") {
    source(file = system.file(file.path("tools", "utils.R"), package = "urlchecker"), local = tools)
  }
}

Try the urlchecker package in your browser

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

urlchecker documentation built on Dec. 11, 2021, 9:39 a.m.