From hb at stat.berkeley.edu  Fri Mar 19 14:13:38 2010
From: hb at stat.berkeley.edu (Henrik Bengtsson)
Date: Fri, 19 Mar 2010 14:13:38 +0100
Subject: [Rd] DESCRIPTION: Imports: assertion of version?
Message-ID: <59d7961d1003190613gc05806v845dc1a4a99aaf57@mail.gmail.com>

Hi,

from 'Writing R Extensions' [R version 2.11.0 Under development
(unstable) (2010-03-16 r51290)] one can read:

"The optional `Imports' field lists packages whose name spaces are
imported from but which do not need to be attached. [...] Versions can
be specified, but will not be checked when the namespace is loaded."

Is it a design decision that version specifications are not asserted
for packages under "Imports:", or is it a "lack of implementation"?
If a design decision, under what use cases do you want to specify the
version but not validating it?  Is it simply because there is no
mechanism for tracking the origin/package of the code importing the
other package, and hence we cannot know which DESCRIPTION file to
check against?

Thanks

Henrik



[Rd] DESCRIPTION: Imports: assertion of version?
Henrik Bengtsson