[Rd] R CMD check --as-cran without qpdf

Duncan Murdoch murdoch.duncan at gmail.com
Thu Oct 22 20:13:57 CEST 2015

On 10/10/2015 6:30 AM, Kirill Müller wrote:
> Today, a package that has an HTML vignette (but no PDF vignette) failed
> R CMD check --as-cran on a system without qpdf. I think the warning
> originates here [1], due to a premature check for the existence of qpdf
> [2]. Setting R_QPDF=true (as in /bin/true) helped, but perhaps it's
> possible to check qpdf existence only when it matters.
> I have attached a patch (untested) that could serve as a starting point.
> The code links correspond to SVN revision 69500. Thanks.

The patch looks fine, and is now in R-devel and (in a few minutes) in 
R-patched.  Thanks!

Duncan Murdoch

More information about the R-devel mailing list