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

Duncan Murdoch murdoch.duncan at gmail.com
Thu Feb 14 03:40:30 CET 2013


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
>



More information about the R-devel mailing list