[R-pkg-devel] R CHECK warning about new S3 generic/method consistency

CRAN.r cr@n@r @end|ng |rom proton@me
Mon Mar 11 19:34:39 CET 2024


> No, your assumption is backwards. The methods do need to include all
> arguments of the generic. As Writing R Extensions says near the start
> of section 7, "A method must have all the arguments of the generic,
> including … if the generic does."

That's embarrassing. I was worried it was something simple I missed. Thanks for pointing that out!



More information about the R-package-devel mailing list