[Rd] CMD check puzzle

Thomas Lumley tlumley at u.washington.edu
Mon Feb 9 15:30:49 CET 2009

On Mon, 9 Feb 2009, Terry Therneau wrote:

>  > tfit  <- aareg(Surv(time, status) ~ x, test1)
>  Error: could not find function "aareg"
>  Execution halted
> --------------
>  The manual page aareg.Rd has a call to the function in the examples and that
> runs ok, and aareg is in the NAMESPACE exports.
> I'm almost certainly missing something obvious - please point it out.

Based on the r-forge code it looks like you need library(survival) in R code in tests/.  It doesn't happen automatically like it does for examples.


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

More information about the R-devel mailing list