R/init.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  types <- c("bool", "coercion", "matmult")
  types <- paste0("errors.warn.", types)
  options(as.list(setNames(rep.int(TRUE, length(types)), types)))
  register_all_s3_methods()
}
Enchufa2/errors documentation built on Dec. 11, 2023, 2:30 a.m.