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
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
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 crea
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
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 w