R/zzz.R

".onAttach" <-
function(lib, pkg) {
  MSG <- packageStartupMessage # renaming the function
  dsc <- packageDescription(pkg) # function will not be found without
  # loading the utils package in the Depends: section of the DESCRIPTION
  if(interactive() || getOption("verbose")) {
    MSG(sprintf("# Package %s (%s) loaded", pkg, dsc$Version))
  }
}

Try the lmomco package in your browser

Any scripts or data that you put into this service are public.

lmomco documentation built on Aug. 30, 2023, 5:10 p.m.