The function is called when the package is loaded through library or require.

.onAttach(libname, pkgname)

Arguments

libname

Library name

pkgname

Package name

Value

Nothing