R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
    if (suppressWarnings(requireNamespace("texreg", quietly=TRUE))) {
        setGeneric("extract", function(model, ...) standardGeneric("extract"),
                   package = "texreg")
        setMethod("extract",
                  signature = className("robustified", pkgname),
                  definition = extract.robustified)
        setMethod("extract",
                  signature = className("mi.estimates", pkgname),
                  definition = extract.mi.estimates)
    }
    invisible()
}
atahk/bucky documentation built on March 31, 2022, 6:52 p.m.