[R-pkg-devel] unregistered S3 methods in a package

2024-09-02 Thread John Fox
Dear R-package-devel list members, I want to introduce several unregistered S3 methods into the cv package (code at ). These methods have the form coef.merMod <- function(object, ...) lme4::fixef(object) The object is to mask, e.g., lme4:::coef.merMod()

Re: [R-pkg-devel] unregistered S3 methods in a package

2024-09-02 Thread John Fox
As it turned out, I was able to avoid redefining coef.merMod(), etc., by making a simple modification to the cv package. I'm still curious about whether it's OK to have unregistered S3 methods for internal use in a package even though that's no longer necessary for the cv package. On 2024-09