When I try to build my package I get latex errors even though i run the same
steps (using another latex creation program - latex, and then dvipdf)
independently of the R CMD build without fail. Also, R CMD check finishes
without error.

* creating vignettes ... ERROR
/usr/lib/R/bin/texi2dvi: pdflatex exited with bad status, quitting.
/usr/lib/R/bin/texi2dvi: see SuoPS1.log for errors.
Error in texi2dvi(file = bft, pdf = TRUE, clean = FALSE, quiet = quiet) :
        running texi2dvi on 'SuoPS1.tex' failed
Execution halted

Running texi2pdf --pdf gives me more details:

Error: pdflatex (file SuoPS1-002.pdf): pdf inclusion: required page does not
ex
ist <0>
 ==> Fatal error occurred, the output PDF file is not finished!

Any help would be much appreciated. Thanks!
Daniel

	[[alternative HTML version deleted]]

