[R] R CMD check

Martyn Plummer plummer at iarc.fr
Thu Nov 29 17:35:06 CET 2001


On 29-Nov-2001 Achim Zeileis wrote:
> Martyn Plummer wrote:
>> 
>> I have been checking my package coda with the current R-devel
>> using "R CMD check".  As usual, this has uncovered a large number
>> of errors and inconsistencies in my documentation, for which I
>> am very grateful.
>> 
>> The only problem I have is with code/documentation mismatches when I
>> have written a method for a generic function

   [snip]

> Documenting it as
> \method{summary}{mcmc}(data, quantiles = c(0.025, 0.25, 0.5, 0.75,
> 0.975), ...)
> should solve that problem, because then R knows that you're documenting
> a method for a generic function.

Thanks.  I shall now sheepishly re-read the documentation.
Martyn
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list