Skip to content
Prev 63078 / 63424 Next

Suggestion: default print method for S3 generics could offer some insights on '...' among registered methods

Hi,

I agree that showing that there are other methods might help.
The print.function method could be modified to add this in addition to
print.default output.

But I guess (new) users would check the help page with ?as.data.frame and
not print the method or use args() (if they don't check with their prefered
LLM/agent).
Would it be helpful to also report these numbers on the documentation page
of the generic too?

Best,

Llu?s


PS: Trying to see what happens with ? and looking for a specific method I
found that on my computer with R-devel (2025-06-08 r88288), the expressions
below the "Not run:" on ? examples raise errors.


On Mon, 9 Jun 2025 at 08:07, Michael Chirico <michaelchirico4 at gmail.com>
wrote: