Henrik Bengtsson
2013-Feb-13 23:43 UTC
[Rd] VignetteBuilder: Unlike other package fields, it does not support version specifiers
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) 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!
Duncan Murdoch
2013-Feb-14 02:40 UTC
[Rd] VignetteBuilder: Unlike other package fields, it does not support version specifiers
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 >
Possibly Parallel Threads
- proposed change of check message when VIgnetteBuilder package is not declared as a dependency
- vignette index going AWOL
- Suggestion: Custom filename patterns for non-Sweave vignettes
- vignettes present in 2 folders or won't work
- SweaveParseOptions, quoted commas, and knitr vignettes