.onAttach | R Documentation |
Hook triggered when package attached.
.onAttach(lib, pkg)
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 |
Idea taken from https://github.com/ntguardian/MCHT/blob/master/R/StartupMessage.R
ShortForm:::.onAttach(.libPaths()[1], "ShortForm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.