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()
}
r-quantities/errors documentation built on Jan. 16, 2024, midnight