Re: [Rd] "Namespace dependencies not required" message

From: gb <gb_at_stat.umu.se>
Date: Tue 21 Sep 2004 - 06:28:08 EST

On Mon, Sep 20, 2004 at 04:05:52PM -0400, Warnes, Gregory R wrote:
>
> I'm still working to add namespace support to some of my packages. I've
> removed the 'Depends' line from the DESCRIPTION file, and created an
> appropriate NAMESPACE files.
>
> Strangely, whenever I use 'importFrom(package, function)' R CMD check
> generates "Namespace dependencies not required" warnings . Without the
> import statements, the warning does not occur, but the code tests fail with
> the expected object not found errors.
>
> This occurs with both R 1.9.1 and R 2.0.0.
>
> So, should are these errors just bogus and I just ignore these errors, or is
> there something I've done wrong with the NAMESPACE or elsewhere?

I had the same problem. I think you must keep the 'Depends' field in DESCRIPTION file.

Göran

>
> -Greg
>
> Gregory R. Warnes
> Manager, Non-Clinical Statistics
> Pfizer Global Research and Development
>
>
>
> LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
 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@stat.umu.se

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue Sep 21 06:33:22 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:00:21 EST