onLoad: Set Package Specific Options when Package is Loaded

Description Usage Arguments Details Value Author(s) See Also Examples

Description

This function sets package specific options. Option names start with package name and dot (amisc.*).

Usage

1
.onLoad(libname, pkgname)

Arguments

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.

Details

.onLoad sets the amisc.testing option to FALSE. This option is used to control testing typeouts in function testing.

Value

none (invisible NULL)

Author(s)

Andrej Blejec andrej.blejec@nib.si

See Also

testing

Examples

1
2
3
4
5
(amisc.tst <- getOption("amisc.testing"))
options(amisc.testing = TRUE)
getOption("amisc.testing")
options(amisc.testing = amisc.tst)
rm(amisc.tst)

ablejec/amisc documentation built on May 10, 2019, 4:13 a.m.