[R] How to build and check an package on a system without tex latex?

Witold E Wolski wewolski at gmail.com
Mon May 26 17:14:59 CEST 2014


This is what I tried:
R CMD check $(PKGNAME)_$(PKGVERS).tar.gz --no-manual --no-rebuild-vignettes
R CMD build --no-manual --no-rebuild-vignettes $(PKGSRC)

But still somehow the R CMD build attempts to build the vignettes (OK
with me), but also run
texi2dvi on them producing the error message below:


Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  :
Running 'texi2dvi' on 'AExample2.tex' failed.
Messages:
sh: 1: /usr/bin/texi2dvi: not found
Calls: <Anonymous> -> texi2pdf -> texi2dvi
Execution halted
make: *** [build] Error 1




-- 
Witold Eryk Wolski



More information about the R-help mailing list