is_s3_generic | R Documentation |
is_s3_generic
compares name to .knownS3Generics
and
.S3PrimitiveGenerics
, then looks at the function body to see if it
calls UseMethod()
.
is_s3_method
builds names of all possible generics for that function
and then checks if any of them actually is a generic.
is_s3_generic(name, env = parent.frame())
is_s3_method(name, env = parent.frame())
name |
Name of function. |
env |
Base environment in which to look for function definition. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.