s3: Internal S3 infrastructure helpers

s3R Documentation

Internal S3 infrastructure helpers

Description

The following are internal S3 infrastructure helper functions.

Usage

is_S3_user_generic(function_name, envir = parent.frame())

make_S3_methods_known(module)

Arguments

function_name

function name as character string.

envir

the environment this function is invoked from.

module

the module object for which to register S3 methods

Details

is_S3_user_generic checks whether a function given by name is a user-defined generic. A user-defined generic is any function which, at some point, calls UseMethod.

make_S3_methods_known finds and registers S3 methods inside a module.

Value

is_S3_user_generic returns TRUE if the specified function is a user-defined S3 generic, FALSE otherwise.


box documentation built on May 2, 2023, 9:14 a.m.

Related to s3 in box...