Re: [Rd] DESCRIPTION: Imports: assertion of version?

From: Seth Falcon <seth_at_userprimary.net>
Date: Fri, 19 Mar 2010 13:44:42 -0700

On 3/19/10 6:13 AM, Henrik Bengtsson wrote:
> 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?

I'm not aware of any use case in which the current lack of checking is a "feature". I would be interested in a patch (with testing) for this.

+ seth

-- 
Seth Falcon | @sfalcon | http://userprimary.net/

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri 19 Mar 2010 - 20:49:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 20 Mar 2010 - 03:51:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive