Learn R Programming

hgutils (version 0.2.11)

generic_implementations: 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.

See Also

Other developer functions: crossref_description(), load_packages(), update_settings(), valid_pkgname()

Examples

Run this code
# NOT RUN {
#get a list of classes which have an implementation for graphics::plot
impls = generic_implementations('plot')

# }

Run the code above in your browser using DataLab