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

2021-02-09 Thread Sebastien Bihorel
nd methods) should have documentation entries. Including \alias{frame-class}, \alias{grob-class}, \alias{gTree-class}, \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? S

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

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, Fe