Skip to content
Prev 30850 / 63421 Next

install.packages and dependency version checking

Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
Without XML in Imports: references in the package name space to
functions in XML rely on the user not adjusting their search
path. Often XML may well be 'infrastructure' that the end-user has no
use for, and should not be contributing to the possibility of
unexpected name collisions by cluttering their search path.
Imports: (and imports() in NAMESPACE) gives the name space reliable
access to specific functions / classes; Depends: gives the user access
to (possibly a greater diversity of) functions.
To clarify, I guess you mean that IRanges 1.1.4 would be installed for
packages that specified, say, IRanges >= 1.1.0, but that the package
depending on 1.1.7 would not install. It would be a mistake to install
a package with unsatisfied dependencies.

  
    
Message-ID: <6phej09uxdp.fsf@gopher4.fhcrc.org>
In-Reply-To: <alpine.LFD.2.00.0812131539020.15227@gannet.stats.ox.ac.uk> (Brian Ripley's message of "Mon, 15 Dec 2008 17:35:14 +0000 (GMT)")