From murdoch.duncan at gmail.com  Thu Feb 14 03:40:30 2013
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Wed, 13 Feb 2013 21:40:30 -0500
Subject: [Rd] VignetteBuilder: Unlike other package fields,
 it does not support version specifiers
In-Reply-To: <CAFDcVCQjxLS_nW5Jw=L_4hQjHn-ZycgmwymJtgRpicJKWr+zvg@mail.gmail.com>
References: <CAFDcVCQjxLS_nW5Jw=L_4hQjHn-ZycgmwymJtgRpicJKWr+zvg@mail.gmail.com>
Message-ID: <511C4E9E.6060500@gmail.com>

On 13-02-13 6:43 PM, Henrik Bengtsson wrote:
> Just an observation/FYI on the new DESCRIPTION field 'VignetteBuilder'
> available in R devel:
>
> Unlike other package fields (Depends, Imports and Suggests),
> VignetteBuilder does not support version specifiers, e.g.
>
> VignetteBuilder: R.rsp (>= 0.8.2)

Yes, that's by design.  It doesn't indicate how the package depends on 
R.rsp, only that the R.rsp package needs to be loaded before vignettes 
are built.  You have to choose Depends, Imports or Suggests as well, and 
that's where the version dependency goes.

Duncan Murdoch

>
> but only
>
> VignetteBuilder: R.rsp
>
> If adding a version specifier, 'R CMD build' complaints with an:
>
> ** installing vignettes
> Error in loadNamespace(pkg) : there is no package called 'R.rsp(>=0.8.2)'
> ERROR: installing vignettes failed
>
>> sessionInfo()
> R Under development (unstable) (2013-02-12 r61929)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
>
> As I said, just an FYI.
>
> Henrik
>
> PS. Also, thanks for adding support for non-Sweave vignettes!
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] VignetteBuilder: Unlike other package fields, it does not support version specifiers
Duncan Murdoch