dot-onAttach: Package Attach Hook Function

.onAttachR Documentation

Package Attach Hook Function

Description

Hook triggered when package attached.

Usage

.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

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

caMST documentation built on June 25, 2022, 1:06 a.m.

Related to dot-onAttach in caMST...