Error(s) in re-building vignettes:
  ...
--- re-building ‘vars.Rnw’ using Sweave
Loading required package: MASS
Loading required package: strucchange
Loading required package: zoo

Attaching package: ‘zoo’

The following objects are masked from ‘package:base’:

    as.Date, as.Date.numeric

Loading required package: sandwich
Loading required package: urca
Loading required package: lmtest
Error: processing vignette 'vars.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'vars.tex' failed.
LaTeX errors:
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.1139 
       
! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: \begin{figure} on input line 1111 ended by \end{Soutput}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: \begin{figure} on input line 1111 ended by \end{Schunk}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Missing } inserted.
<inserted text> 
                }
l.1173 \end{Schunk}
                   
! LaTeX Error: Not in outer par mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: Not in outer par mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.1495 
       
! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: \begin{figure} on input line 1413 ended by \end{Soutput}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: \begin{figure} on input line 1413 ended by \end{Schunk}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Missing } inserted.
<inserted text> 
                }
l.1541 \end{Schunk}
                   
! LaTeX Error: Not in outer par mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: Not in outer par mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: Not in outer par mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: Not in outer par mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.1900 
       
! LaTeX Error: \begin{figure} on input line 1892 ended by \end{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! You can't use `\end' in internal vertical mode.
\enddocument ...es \z@ \Call@AtVeryVeryEnd \@@end 
                                                  
l.1992 \end{document}
                     
! LaTeX Error: \begin{figure} on input line 1892 ended by \end{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Emergency stop.
<*> \nonstopmode \input ./vars.tex
                                  
*** (job aborted, no legal \end found)

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘vars.Rnw’

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

Error: Vignette re-building failed.
Execution halted