powered by
Hook triggered when package attached
.onAttach(lib, pkg)
a character string giving the library directory where the package defining the namespace was found
a character string giving the name of the package
# NOT RUN { CPAT:::.onAttach(.libPaths()[1], "CPAT") # }
Run the code above in your browser using DataLab