| onLoad | R Documentation | 
Default Load/Unload Functions
onLoad(libname = NULL, pkgname, chname = packageName())
onUnload(libpath)
| libname | a character string giving the library directory where the package defining the namespace was found. | 
| pkgname | a character string giving the name of the package. | 
| chname | a character string naming a DLL (also known as a dynamic shared object or library) to load. | 
| libpath | a character string giving the complete path to the package. | 
Returns nothing, used only for their side-effects.
# in a package namespace:
.onLoad <- function(libname=NULL, pkgname){
	pkgmaker::onLoad(libname, pkgname)
}
# in a package namespace:
.onUnload <- function(libpath){
	pkgmaker::onUnload(libpath)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.