Re: [R-pkg-devel] Documenting courtesy S3 methods

2020-08-06 Thread Lenth, Russell V
12:22 PM To: Lenth, Russell V Subject: Re: [R-pkg-devel] Documenting courtesy S3 methods Probably unnecessary to say, but if/when you determine whether the package must be installed, let us all know. Bert __ R-package-devel@r-project.org mailing list

Re: [R-pkg-devel] Documenting courtesy S3 methods

2020-08-06 Thread Lenth, Russell V
comp::cld(). It just seems that actually showing that in the Usage section is by far the clearest way to communicate that requirement. Russ From: Bert Gunter Sent: Wednesday, August 5, 2020 9:31 PM To: Lenth, Russell V Cc: r-package-devel@r-project.org Subject: [External] Re: [R-pkg-devel] Doc

Re: [R-pkg-devel] Documenting courtesy S3 methods

2020-08-05 Thread Bert Gunter
>From WRE: "As from R 3.6.0 one can also use S3method() directives to perform *delayed*registration. With if(getRversion() >= "3.6.0") { S3method(pkg::gen, cls) } function gen.cls will get registered as an S3 method for class cls and generic gen from package pkg only when the namespace of pk