[R] R CMD check

Thomas Lumley tlumley at u.washington.edu
Wed May 15 20:37:43 CEST 2002

On Wed, 15 May 2002, Frank E Harrell Jr wrote:

> Second, I get this message:
> Objects with usage in documentation object 'aregImpute' but missing from
> code: [1] "plot"  "print"
> The aregImpute function, like many others, has under the Usage section
> code such as plot(object) and print(object) but the aliases at the top
> of the .Rd file point to plot.aregImpute and print.aregImpute.  To me
> there should not be a warning about this.

You can document plot.aregImpute with usage plot(object) using the \method


\method{print}{survfit}(x, scale=1,digits = max(options()$digits - 4,
3), print.n=getOption("survfit.print.n"), show.rmean=getOption("survfit.print.me

will display as


     print(x, scale=1,digits = max(options()$digits - 4,
     3), print.n=getOption("survfit.print.n"), show.rmean=getOption("survfit.pri

but CMD check knows that it is documenting print.survfit.


Thomas Lumley			Asst. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle

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