You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should not be linted by object_name_linter(), and object_length_linter() should only consider "other" for length computations.
I can see multiple options here:
Inspect all visible functions whether they are generics
Inspect the Package NAMESPACE file for S3method(my_generic,<anything>) to deduce my_generic must be an S3 generic
The former also works for non packages but is more expensive.
The latter should be easier, using unique(parseNamespaceFile("package", "..")$S3methods[, 1L]) similar to namespace_imports().