Re: [Rd] CMD check puzzle

From: Thomas Lumley <>
Date: Mon, 09 Feb 2009 06:30:49 -0800 (PST)

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	University of Washington, Seattle

______________________________________________ mailing list Received on Mon 09 Feb 2009 - 14:40:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 09 Feb 2009 - 15:30:21 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive