R/globals.r

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
    env <- parent.env(environment())

    cat("loading models ...\n")
    assign("models.global", new.env(), envir=env)
    load.models(pkgname)

    cat("load horvath standard ...\n")
    standard <- load.horvath.standard(pkgname)
    assign("horvath.standard", standard, envir=env)

    cat("load DunedinPACE standard ...\n")
    standard <- load.dunedinpace.standard(pkgname)
    assign("dunedinpace.standard",standard, envir=env)
}
perishky/meffonym documentation built on Nov. 8, 2024, 8:36 p.m.