register_unknown_s3_generics: Export S3 generics only if as-of-yet unknown

View source: R/zzz.R

register_unknown_s3_genericsR Documentation

Export S3 generics only if as-of-yet unknown

Description

S3 generics are often (unfortunately) tethered to specific packages. In order to provide a functional generic that can dispatch on parttime classes, while also preventing our generics from masking generics in other packages on attach, we want to only export our generics if there is no generic with that name.

Usage

register_unknown_s3_generics(fns)

parttime documentation built on May 29, 2024, 6:25 a.m.