setGenericVerif: A Safe Version of setGeneric.

Description Usage Arguments Details Value See Also

View source: R/zzz.R

Description

A Safe Version of setGeneric. Intended for internal use only.

Usage

1

Arguments

name

The character string name of the generic function.

...

Additional arguments to pass to setGeneric.

Details

setGeneric will overwrite existing generic functions. This will result in the loss of all methods already associated with that generic. setGenericVerif only sets the generic if it is not already a generic. If a generic by the name of name already exists, a warning is issued and NULL is returned. Otherwise setGeneric is called and its value returned.

Value

setGenericVerif really exists for its side effect; but returns the value returned by setGeneric or NULL.

See Also

setGeneric


BALD documentation built on May 2, 2019, 6:51 a.m.

Related to setGenericVerif in BALD...