RobinHankin / partitions

R package for integer partitions
9 stars 5 forks source link

winbuilder error #24

Closed RobinHankin closed 2 years ago

RobinHankin commented 2 years ago

Winbuilder gives the following:

[snip]
* checking re-building of vignette outputs ... [28s] WARNING
Error(s) in re-building vignettes:
--- re-building 'partitionspaper.Rnw' using Sweave
Loading required package: partitions
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"D:\compiler\texmf\miktex\bin\texify.exe" --quiet --pdf "partitionspaper.tex" --max-iterations=20 -I "D:/RCompile/recent/R-4.1.1/share/texmf/tex/latex" -I "D:/RCompile/recent/R-4.1.1/share/texmf/bibtex/bst"' had status 1
Error: processing vignette 'partitionspaper.Rnw' failed with diagnostics:
running 'texi2dvi' on 'partitionspaper.tex' failed

LaTeX errors:
s/partitionspaper.tex:7: LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help
You're in trouble here.  Try typing  <return>  to proceed.

--- failed re-building 'partitionspaper.Rnw'

--- re-building 'scrabble.Rnw' using Sweave
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"D:\compiler\texmf\miktex\bin\texify.exe" --quiet --pdf "scrabble.tex" --max-iterations=20 -I "D:/RCompile/recent/R-4.1.1/share/texmf/tex/latex" -I "D:/RCompile/recent/R-4.1.1/share/texmf/bibtex/bst"' had status 1
Error: processing vignette 'scrabble.Rnw' failed with diagnostics:
running 'texi2dvi' on 'scrabble.tex' failed

LaTeX errors:
s/scrabble.tex:7: LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help
You're in trouble here.  Try typing  <return>  to proceed.

--- failed re-building 'scrabble.Rnw'

--- re-building 'setpartitions.Rnw' using Sweave
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"D:\compiler\texmf\miktex\bin\texify.exe" --quiet --pdf "setpartitions.tex" --max-iterations=20 -I "D:/RCompile/recent/R-4.1.1/share/texmf/tex/latex" -I "D:/RCompile/recent/R-4.1.1/share/texmf/bibtex/bst"' had status 1
Error: processing vignette 'setpartitions.Rnw' failed with diagnostics:
running 'texi2dvi' on 'setpartitions.tex' failed

LaTeX errors:
s/setpartitions.tex:8: LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help
You're in trouble here.  Try typing  <return>  to proceed.

--- failed re-building 'setpartitions.Rnw'

SUMMARY: processing the following files failed:
  'partitionspaper.Rnw' 'scrabble.Rnw'
  'setpartitions.Rnw'

Error: Vignette re-building failed.
Execution halted

* checking PDF version of manual ... OK
* checking for detritus in the temp directory ... OK
* DONE
Status: 1 WARNING
RobinHankin commented 2 years ago

the error was introduced in fdcb2f6ab233a3ab3f08b5a5ca83565a685fff2a which added the line

\pdfsuppressptexinfo=-1

to the Rnw files. The commit says "reproducibility" but I cannot remember what the issue was. It was something to do with arXive IIRC, but I am not sure.