From murdoch.duncan at gmail.com  Thu Oct 22 20:13:57 2015
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Thu, 22 Oct 2015 14:13:57 -0400
Subject: [Rd] R CMD check --as-cran without qpdf
In-Reply-To: <5618E8C8.1050802@ivt.baug.ethz.ch>
References: <5618E8C8.1050802@ivt.baug.ethz.ch>
Message-ID: <56292765.1070201@gmail.com>

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



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