generic_implementations {hgutils} | R Documentation |
Retrieve generic function implementations
Description
Obtains a list of classes for which the supplied generic function has an implementation.
Usage
generic_implementations(generic, remove_default = TRUE)
Arguments
generic |
name of the generic function. |
remove_default |
whether to keep the default generic implementation in the result. |
Value
A vector with class names for which argument 'generic
' has an implementation.
Note
Removes the default generic implementation
See Also
Other developer functions:
crossref_description()
,
load_packages()
,
update_settings()
,
valid_pkgname()
Examples
#get a list of classes which have an implementation for graphics::plot
impls = generic_implementations('plot')
[Package hgutils version 0.2.11 Index]