Error(s) in re-building vignettes:
  ...
--- re-building 'optimsimplex_manual.Rnw' using Sweave
Loading required package: optimsimplex
Loading required package: optimbase
Loading required package: Matrix
Error: processing vignette 'optimsimplex_manual.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'optimsimplex_manual.tex' failed.
LaTeX errors:
! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
--- failed re-building 'optimsimplex_manual.Rnw'

SUMMARY: processing the following file failed:
  'optimsimplex_manual.Rnw'

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘optimsimplex_manual.Rnw’ using Sweave
Loading required package: optimsimplex
Loading required package: optimbase
Loading required package: Matrix
Error: processing vignette 'optimsimplex_manual.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'optimsimplex_manual.tex' failed.
LaTeX errors:
! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
--- failed re-building ‘optimsimplex_manual.Rnw’

SUMMARY: processing the following file failed:
  ‘optimsimplex_manual.Rnw’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘optimsimplex_manual.Rnw’ using Sweave
Loading required package: optimsimplex
Loading required package: optimbase
Loading required package: Matrix
Error: processing vignette 'optimsimplex_manual.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'optimsimplex_manual.tex' failed.
LaTeX errors:
! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
--- failed re-building ‘optimsimplex_manual.Rnw’

SUMMARY: processing the following file failed:
  ‘optimsimplex_manual.Rnw’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘optimsimplex_manual.Rnw’ using Sweave
Loading required package: optimsimplex
Loading required package: optimbase
Loading required package: Matrix
Error: processing vignette 'optimsimplex_manual.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'optimsimplex_manual.tex' failed.
LaTeX errors:
! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
--- failed re-building ‘optimsimplex_manual.Rnw’

SUMMARY: processing the following file failed:
  ‘optimsimplex_manual.Rnw’

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

LaTeX errors:
tes/optimsimplex_manual.tex: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 'optimsimplex_manual.Rnw'

SUMMARY: processing the following file failed:
  'optimsimplex_manual.Rnw'

Error: Vignette re-building failed.
Execution halted