R/madrat.R

Defines functions cat .onDetach .onAttach

.onAttach <- function(libname, pkgname) {
  madrat::madratAttach(pkgname)
}

.onDetach <- function(libpath) {
  madrat::madratDetach(libpath)
}

# redirect cat to message to have messages
# properly logged
cat <- function(...) message(...)
pik-piam/mrcommons documentation built on Dec. 8, 2024, 7:23 a.m.