[R] other files in \inst\doc

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Sep 18 09:23:37 CEST 2012



On 17.09.2012 20:30, A.I. McLeod wrote:
> I would like to include a Mathematica notebook and cdf file (both are
> ASCII files) in the \inst\doc directory as supporting documentation. These
> files are not large, about 340K each one. When I check using
> R CMD check --as-cran ...
> I get the following warning:
>
> ......................
> * checking data for ASCII and uncompressed saves ... OK
>   WARNING
> 'qpdf' is needed for checks on size reduction of PDFs
> * checking examples ... OK
> * checking PDF version of manual ... OK
>
> WARNING: There was 1 warning.
>
> This warning disappears when I delete \inst\doc
>
> Is this a bug?
> Is it forbidden to include such ASCII files?

R CMD check --as-cran needs a qpdf installtion that checks if pdfs in 
that directory could be compressed more efficiently.
It is a problem with your setup not having  qpdf installed for this check.

Best,
Uwe Ligges


> Regards, Ian McLeod
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list