s3: [DEV] Determine if a function is an S3 generic or S3 method.

Description Usage Arguments See Also

Description

This function is aimed primarily at developers extending this package. You shouldn't need to use it for everyday operation.

is_s3_generic compares name to .knownS3Generics and .S3PrimitiveGenerics, then uses findGlobals to see if the functionion 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.

Usage

1

Arguments

name

name of function.

env

environment to search in.

See Also

Other s3: add_s3_metadata


hadley/roxygen3 documentation built on May 17, 2019, 12:16 p.m.