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

From: Warnes, Gregory R <gregory_r_warnes_at_groton.pfizer.com>
Date: Tue 21 Sep 2004 - 23:59:17 EST

> -----Original Message-----
> From: r-devel-bounces@stat.math.ethz.ch
> [mailto:r-devel-bounces@stat.math.ethz.ch]On Behalf Of Martin Maechler
> Sent: Tuesday, September 21, 2004 3:03 AM
> To: r-devel@stat.math.ethz.ch
> Subject: Re: [Rd] "Namespace dependencies not required" message
>
>
> >>>>> "GB" == Göran Broström <gb@stat.umu.se>
> >>>>> on Mon, 20 Sep 2004 22:28:08 +0200 writes:
>
[...]
> GB> I had the same problem. I think you must keep the
> GB> 'Depends' field in DESCRIPTION file.
>
> yes, definitely.
>
> And since you are (rightly, thank you!) working with 2.0.0-beta,
> please consider
> http://developer.r-project.org/200update.txt
>
> which mentions more things on 'Depends:', 'Suggests:' etc.
> Also, don't forget to use 'Writing R Extensions' of 2.0.0.

For some reason, I got the impression that the import directives in the NAMESPACE file _replaced_ the 'Depends:' line, rather than _augmenting_ it. It seems that Gõran had the same problem.

May I suggest two changes: First, a more informative error message would be very helpful. Perhaps replacing

        "Namespace dependencies not required"
which doesn't really state the nature of the problem with

        "NAMESPACE imports package(s) not listed package dependencies". Second, it would help to add a paragraph noting that all of the packages 'import'ed must also be listed in the package 'Depends:' field to section 1.6 of the R Extensions document. [I would suggest verbage, but I've gotta go to an appointment now..]

-Greg

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 Received on Wed Sep 22 00:03:53 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:17 EST