Re: [R-pkg-devel] How to get rid of R CMD check warning/note for new S4 classes

2021-02-09 Thread Sebastien Bihorel
\alias{gDesc-class} in my S4 class .Rd files prevents the WARNING to be reported, but this does not feel right, since these are classes from the grid package. Any suggestions? Sebastien --- From: David Kepplinger Sent: Tuesday, February 9, 2021 19:11 To: Sebastien Bihorel Cc:

Re: [R-pkg-devel] How to get rid of R CMD check warning/note for new S4 classes

2021-02-09 Thread Sebastien Bihorel
Thanks David I will work in this direction. From: David Kepplinger Sent: Tuesday, February 9, 2021 19:11 To: Sebastien Bihorel Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] How to get rid of R CMD check warning/note for new S4 classes   Dear Sabastien, Your second approach

[R-pkg-devel] How to get rid of R CMD check warning/note for new S4 classes

2021-02-09 Thread Sebastien Bihorel
Hi I posted the following message on Jan 2nd and got no response... Assuming that my timing was off (everybody was probably still on vacation or recovering from New Year's celebration), I am taking the liberty to post it again, hoping that I'll reach a larger audience today. -- I am

Re: [R-pkg-devel] How to get rid of R CMD check warning/note for new S4 classes

2021-02-09 Thread David Kepplinger
Dear Sabastien, Your second approach is correct, but as the warning suggests, you have to document the S4 class "character or NULL". The documentation at https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Documenting-S4-classes-and-methods should get you started. Best, David On Tue,

[R-pkg-devel] How to get rid of R CMD check warning/note for new S4 classes

2021-01-02 Thread Sebastien Bihorel
Hi I am creating a few S4 classes for a package. These classes include slots set to classes obtained using setClassUnion (some common across the new S4 classes). The code is functional but `R CMD check` keeps on reporting notes or warnings whatever I try. I am pulling my hair on this one and