Error(s) in re-building vignettes:
--- re-building 'R_packages-Static_PDF_and_HTML_vignettes.pdf.asis' using asis
--- finished re-building 'R_packages-Static_PDF_and_HTML_vignettes.pdf.asis'

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

LaTeX errors:
-LaTeX_vignettes.ltx:21: 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 'R_packages-LaTeX_vignettes.ltx'

--- re-building 'Dynamic_document_creation_using_RSP.tex.rsp' using rsp
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"D:\compiler\texmf\miktex\bin\texify.exe" --quiet --pdf "Dynamic_document_creation_using_RSP.tex" --max-iterations=20 -I "d:/RCompile/CRANpkg/local/4.1/R.rsp.Rcheck/vign_test/R.rsp/vignettes" -I "D:/RCompile/recent/R-4.1.3/share/texmf/tex/latex" -I "D:/RCompile/recent/R-4.1.3/share/texmf/bibtex/bst"' had status 1
Error: processing vignette 'Dynamic_document_creation_using_RSP.tex.rsp' failed with diagnostics:
running 'texi2dvi' on 'Dynamic_document_creation_using_RSP.tex' failed

LaTeX errors:
cument_creation_using_RSP.tex:20: 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 'Dynamic_document_creation_using_RSP.tex.rsp'

--- re-building 'RSP_intro.html.rsp' using rsp
--- finished re-building 'RSP_intro.html.rsp'

--- re-building 'RSP_refcard.tex.rsp' using rsp
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"D:\compiler\texmf\miktex\bin\texify.exe" --quiet --pdf "RSP_refcard.tex" --max-iterations=20 -I "d:/RCompile/CRANpkg/local/4.1/R.rsp.Rcheck/vign_test/R.rsp/vignettes" -I "D:/RCompile/recent/R-4.1.3/share/texmf/tex/latex" -I "D:/RCompile/recent/R-4.1.3/share/texmf/bibtex/bst"' had status 1
Error: processing vignette 'RSP_refcard.tex.rsp' failed with diagnostics:
running 'texi2dvi' on 'RSP_refcard.tex' failed

LaTeX errors:
d.tex:19: 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 'RSP_refcard.tex.rsp'

--- re-building 'R_packages-RSP_vignettes.md.rsp' using rsp
--- finished re-building 'R_packages-RSP_vignettes.md.rsp'

--- re-building 'R_packages-Vignettes_prior_to_R300.tex.rsp' using rsp
Warning in file(con, "r") :
  file("") only supports open = "w+" and open = "w+b": using the former
Warning in file(con, "r") :
  file("") only supports open = "w+" and open = "w+b": using the former
Warning in file(con, "r") :
  file("") only supports open = "w+" and open = "w+b": using the former
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"D:\compiler\texmf\miktex\bin\texify.exe" --quiet --pdf "R_packages-Vignettes_prior_to_R300.tex" --max-iterations=20 -I "d:/RCompile/CRANpkg/local/4.1/R.rsp.Rcheck/vign_test/R.rsp/vignettes" -I "D:/RCompile/recent/R-4.1.3/share/texmf/tex/latex" -I "D:/RCompile/recent/R-4.1.3/share/texmf/bibtex/bst"' had status 1
Error: processing vignette 'R_packages-Vignettes_prior_to_R300.tex.rsp' failed with diagnostics:
running 'texi2dvi' on 'R_packages-Vignettes_prior_to_R300.tex' failed

LaTeX errors:
-Vignettes_prior_to_R300.tex:16: 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 'R_packages-Vignettes_prior_to_R300.tex.rsp'

SUMMARY: processing the following files failed:
  'R_packages-LaTeX_vignettes.ltx'
  'Dynamic_document_creation_using_RSP.tex.rsp' 'RSP_refcard.tex.rsp'
  'R_packages-Vignettes_prior_to_R300.tex.rsp'

Error: Vignette re-building failed.
Execution halted