rhub icon indicating copy to clipboard operation
rhub copied to clipboard

r-hub fails with "Failed to locate 'texi2pdf' output file 'irace-package.pdf' for vignette with name 'irace-package' and engine 'knitr::knitr'."

Open MLopez-Ibanez opened this issue 1 year ago • 0 comments

R-hub fails to build a vignette when my local machine, github actions and win-builder.r-project.org succeed.

* checking re-building of vignette outputs ... ERROR
Error(s) in re-building vignettes:
  ...
--- re-building 'irace-package.Rnw' using knitr
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"C:\PROGRA~1\MiKTeX\miktex\bin\x64\texify.exe" --quiet --pdf "irace-package.tex" --max-iterations=20 -I "C:/PROGRA~1/R/R-42~1.1/share/texmf/tex/latex" -I "C:/PROGRA~1/R/R-42~1.1/share/texmf/bibtex/bst"' had status 1
Error: processing vignette 'irace-package.Rnw' failed with diagnostics:
Failed to locate 'texi2pdf' output file 'irace-package.pdf' for vignette with name 'irace-package' and engine 'knitr::knitr'. The following files exist in working directory 'C:\Users\USERgOwPZIMAGa\irace.Rcheck\vign_test\irace\vignettes': 'NEWS.txt' (29954 bytes), 'Warning-icon.png' (44865 bytes), 'examples.Rdata' (453 bytes), 'fig1u-acotsp-instances.pdf' (34949 bytes), 'irace-acotsp-stdout.txt' (27991 bytes), 'irace-acotsp.Rdata' (70842 bytes), 'irace-package.R' (10523 bytes), 'irace-package.Rnw' (164200 bytes), 'irace-package.bib' (13019 bytes), 'irace-package.log' (13908 bytes), 'irace-package.synctex(busy)' (0 bytes), 'irace-package.tex' (193443 bytes), 'irace-scheme.pdf' (22743 bytes), 'light-bulb-icon.png' (38331 bytes)
--- failed re-building 'irace-package.Rnw'

SUMMARY: processing the following file failed:
  'irace-package.Rnw'

Error: Vignette re-building failed.
Execution halted

See the full build log: HTML, text, artifacts.

MLopez-Ibanez avatar Oct 23 '22 10:10 MLopez-Ibanez