Hi.
I am having problems with R CMD check around documentation of method "[". I am
pretty sure I didn't have this WARNING when I used R-3.0.2. I have tried many
things, but I am not sure how to fix it.
$ R CMD check encore
...
* using R version 3.2.3 (2015-12-10)
...
* checking for missing d
On 09/03/2016 7:10 AM, Berri, Stefano wrote:
Hi.
I am having problems with R CMD check around documentation of method "[". I am
pretty sure I didn't have this WARNING when I used R-3.0.2. I have tried many things, but
I am not sure how to fix it.
$ R CMD check encore
...
* using R version 3
Hi Stefano,
did you try moving the method to a separate file already? I've noticed that
documentation of classes and methods in the same .Rd file isn't very
straightforward. You need a \usage{} section to document the method, and
that's likely to cause trouble when used in a class document.
In an
Thank you Joris and Duncan!
\alias{[, encore,ANY,ANY-method}
is all it is needed to fix the WARNING.
Now that it is fixed, I will try to follow your other suggestions and move the
documentation outside the class documentation (probably with other accessors
would make more sense) and add
S4me