[Rd] testing presence of pdflatex in R CMD check

From: Petr Savicky <savicky_at_cs.cas.cz>
Date: Fri, 25 Mar 2011 22:26:11 +0100

The nodes of our cluster do not have pdflatex installed. When running R CMD check there on a package with no errors in documentation, then R-2.13.0-alpha and R-2.12.2 report a possible error in Rd files, while R-2.11.1 did not. The platform is 64 bit CentOS.

The output of

  R CMD check tree_1.0-28.tar.gz

under the above three versions of R contains the following.



  sh: pdflatex: command not found
  sh: latex: command not found




  sh: pdflatex: command not found
  Error in texi2dvi("Rd2.tex", pdf = (out_ext == "pdf"), quiet = FALSE, :     unable to run 'pdflatex' on 'Rd2.tex'   Error in running tools::texi2dvi




  Error in texi2dvi("Rd2.tex", pdf = (out_ext == "pdf"), quiet = FALSE, :     pdflatex is not available
  Error in running tools::texi2dvi


Is it intentional not to test the presence of pdflatex during R CMD check?

Petr Savicky.

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 25 Mar 2011 - 21:30:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 26 Mar 2011 - 13:30:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive