R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  # Some current base functions are used which are not included in older
  # versions of R. These are provided through an 'Enhances' package,
  # "backports" but this dependency is unnecessary otherwise.
  if (package_version(R.Version()) < package_version("3.5") &&
      requireNamespace("backports")) {
    backports::import(pkgname, "isFALSE")
  }
}

Try the ggpackets package in your browser

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

ggpackets documentation built on Oct. 11, 2022, 1:06 a.m.