dot-onAttach function

Package Attach Hook Function

Package Attach Hook Function

Hook triggered when package attached

.onAttach(lib, pkg)

Arguments

  • lib: a character string giving the library directory where the package defining the namespace was found
  • pkg: a character string giving the name of the package

Examples

CPAT:::.onAttach(.libPaths()[1], "CPAT")
  • Maintainer: Curtis Miller
  • License: MIT + file LICENSE
  • Last published: 2018-12-25

Useful links