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
Idea taken from https://github.com/ntguardian/MCHT/blob/master/R/StartupMessage.R
# NOT RUN { caMST:::.onAttach(.libPaths()[1], "caMST") # }
Run the code above in your browser using DataLab