From ripley at stats.ox.ac.uk  Fri Sep 22 10:54:48 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri, 22 Sep 2006 09:54:48 +0100 (BST)
Subject: [Rd] Package dependencies and imports
In-Reply-To: <17683.38955.494963.729620@stat.math.ethz.ch>
References: <20060921152216.UGBW24981.tomts40-srv.bellnexxia.net@JohnDesktop8300>
	<17682.46130.408226.90557@stat.math.ethz.ch>
	<m2ac4tp1kd.fsf@ziti.local>
	<17683.38955.494963.729620@stat.math.ethz.ch>
Message-ID: <Pine.LNX.4.64.0609220950380.7482@gannet.stats.ox.ac.uk>

On Fri, 22 Sep 2006, Martin Maechler wrote:

>>>>>> "Seth" == Seth Falcon <sfalcon at fhcrc.org>
>>>>>>     on Thu, 21 Sep 2006 10:33:06 -0700 writes:
>
>    Seth> Martin Maechler <maechler at stat.math.ethz.ch> writes:
>    >>  I think you should use the new DESCRIPTION field and say
>    >> 'Enhances: rgl'
>    >>
>    >> but I haven't checked if this prevents the warning,
>    >> though I think it should..
>
>    Seth> But is Rcmdr enhancing rgl or being enhanced by rgl?
>
>    Seth> :-( :-(
>
> I think this distinction is not so easily made on a general level.
> I'd say an argument for how you can (should?) think about this
> is the following abstraction:
>
> There are two packages, A and B.
> A's DESCRIPTION has 'Enhances: B'.
> When B is there, A provides extra features.
> In one sense, this always enhances B ("enhance" in the usual
> English meaning), since B's area of application has been
> enlarged by code in A.

Yes, but that is just as true of the raft of packages that Rcmdr has in 
'Suggests'.  I suggested to John, and still think, that 'Suggests: rgl' is 
right.  Rcmdr will work without it, but works better with it and so if you 
are installing Rcmdr you would like to install rgl as well (but it fails 
to install it would not be a major loss).


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




[Rd] Package dependencies and imports
Prof Brian Ripley