[Rd] NAMESPACE Warning

gb gb at stat.umu.se
Sun Sep 19 17:57:41 CEST 2004

I'm trying to learn how to use namespaces, so I have created a small
package with two functions. My NAMESPACE file is

importFrom(survival, Surv)
export(mlreg.fit, risksets)

because 'mlreg.fit' uses 'Surv' from 'survival'. However I get

* checking package dependencies ... WARNING
Namespace dependencies not required:

Why? (If I remove 'importFrom' I get the expected Error message.)

 Göran Broström                    tel: +46 90 786 5223
 Department of Statistics          fax: +46 90 786 6614
 Umeå University                   http://www.stat.umu.se/egna/gb/
 SE-90187 Umeå, Sweden             e-mail: gb at stat.umu.se

More information about the R-devel mailing list