[R-pkg-devel] checking PDF version of manual

Patrick Giraudoux patrick.giraudoux at univ-fcomte.fr
Sun Jan 31 12:44:05 CET 2016


Le 31/01/2016 12:13, Patrick Giraudoux a écrit :
> Le 31/01/2016 11:37, Patrick Giraudoux a écrit :
>> I am trying to check a package using R 3.2.3 on Windows
>>
>> R cmd check --as-cran pgirmess
>>
>> but surprisingly, the check get suspended on "checking PDF version of 
>> manual ..."
>>
>> * checking data for non-ASCII characters ... OK
>> * checking data for ASCII and uncompressed saves ... OK
>> * checking examples ... OK
>> * checking PDF version of manual ...
>>
>> then nothing happens, and the prompt stays on that...
>>
>> Any idea about what is happening ?
>>
>> Patrick Giraudoux
>>
>>
>
> I am trying to "debug", now exploring  Rd2pdf, and get this:
>
> U:\Users\pgiraudo2\Documents\R\pgir_arch\pgirmess_arch\151104v1.6.3>rcmd 
> Rd2pdf
> pgirmess
> Hmm ... looks like a package
> Converting Rd files to LaTeX .....
> Creating pdf output from LaTeX ...
> Warning: running command 
> '"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
> "Rd2.tex" --max-iterations=20 -I 
> "C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"
> -I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
> Error : running 'texi2dvi' on 'Rd2.tex' failed
>
> LaTeX errors:
> !pdfTeX error: pdflatex.EXE (file ec-inconsolata): Font ec-inconsolata 
> at 540 n
> ot found
>  ==> Fatal error occurred, no output PDF file produced!
>
> Warning: running command 
> '"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
> "Rd2.tex" --max-iterations=20 -I 
> "C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"
> -I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
> Error : running 'texi2dvi' on 'Rd2.tex' failed
>
> LaTeX errors:
> !pdfTeX error: pdflatex.EXE (file ec-inconsolata): Font ec-inconsolata 
> at 540 n
> ot found
>  ==> Fatal error occurred, no output PDF file produced!
>
> Error in running tools::texi2pdf()
>
> Looks like there is someting wrong with the call to MIKTEX and a font 
> missing. However I did not change anything to the MIKTEX configuration 
> (MIKTEK 2.9) which was working OK last time I packaged pgirmess...
>
> Also I can not find out how to download an "ec-inconsolata" fond 
> through the MIKTEX package manager
>
> Any advise appreciated.
>
> Cheers,
>
> Patrick
>
>
>
>


I have updated all packages of MIKTEX, but with no improvement. I ge the 
same error.

Question: does it comes from the MIKTEX installation (do I re-install 
it) or from rcmd Rd2pdf ?

Any other user having experienced the same problem ?

Patrick



More information about the R-package-devel mailing list