krlmlr / r-appveyor

Tools for using R with AppVeyor (https://appveyor.com)
132 stars 60 forks source link

ERROR while "checking PDF version of manual without hyperrefs or index" #143

Closed IndrajeetPatil closed 3 years ago

IndrajeetPatil commented 5 years ago

I haven't gotten this error on AppVeyor before so not sure why I am suddenly getting this ERROR and WARNING.

* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
* checking PDF version of manual without hyperrefs or index ... ERROR
Re-running with no redirection of stdout/stderr.
Hmm ... looks like a package
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  : 
  pdflatex is not available
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  : 
  pdflatex is not available
Error in running tools::texi2pdf()
You may want to clean up by 'rm -Rf C:/Users/appveyor/AppData/Local/Temp/1/RtmpOMDfjo/Rd2pdf7b844d61afa'
* DONE
Status: 1 ERROR, 1 WARNING, 2 NOTEs
See

Plus, I am also getting the following NOTE-

* checking top-level files ... NOTE
Files 'README.md' or 'NEWS.md' cannot be checked without 'pandoc' being installed.
krlmlr commented 5 years ago

Can you point to the build, please? Have you overridden R_BUILD_ARGS or R_CHECK_ARGS ?

IndrajeetPatil commented 5 years ago

Yes, here is a link to the build: https://ci.appveyor.com/project/IndrajeetPatil/ggstatsplot/builds/22535680/job/r5oc6adra48ks49y

IndrajeetPatil commented 5 years ago

Indeed, I have modified the yml as following- https://github.com/IndrajeetPatil/ggstatsplot/blob/master/appveyor.yml

image

krlmlr commented 5 years ago

The override overwrite predefined arguments to R CMD check that hide this behavior. Do we need R_CHECK_ARGS_EXTRA ?