dot-onAttach: Package Attach Hook Function

Description Usage Arguments Details Examples

Description

Hook triggered when package attached.

Usage

1
.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

Details

Idea taken from https://github.com/ntguardian/MCHT/blob/master/R/StartupMessage.R

Examples

1
ShortForm:::.onAttach(.libPaths()[1], "ShortForm")

ShortForm documentation built on March 26, 2020, 7:47 p.m.