R/utils.R

Defines functions local_load_all

local_load_all <- function(path, env = parent.frame()) {
  pkgload::load_all(path, quiet = TRUE)
  withr::defer(pkgload::unload(path), envir = env)
}

Try the generics package in your browser

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

generics documentation built on July 6, 2022, 1:08 a.m.