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

2025-06-09 Thread Mikael Jagan
I don't really understand the premise. Any function F with '...' as a formal argument can pass '...' to another function G. The actual arguments matching '...' in the call to F will be matched to the formal arguments of G. So the the maintainer of F may want to alert the user of F to the existe

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

2025-06-09 Thread LluĂ­s Revilla
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 the