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

Attaching package: ‘zoo’

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

    as.Date, as.Date.numeric

Loading required package: strucchange
Loading required package: sandwich
Warning in sub(object$syntax$docexpr, val, chunk[pos[1L]]) :
  argument 'replacement' has length > 1 and only the first element will be used
Error: processing vignette 'CNY.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'CNY.tex' failed.
LaTeX errors:
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.166 
      
! 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.203 
      
! 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.262 
      
! LaTeX Error: \begin{center} on input line 256 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.481 \end{document}
                    
! LaTeX Error: \begin{center} on input line 256 ended by \end{document}.

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

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

--- re-building ‘INR.Rnw’ using Sweave
Loading required package: zoo

Attaching package: ‘zoo’

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

    as.Date, as.Date.numeric

Loading required package: strucchange
Loading required package: sandwich
Error: processing vignette 'INR.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'INR.tex' failed.
LaTeX errors:
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.128 
      
! 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.202 
      
! LaTeX Error: \begin{center} on input line 196 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.424 \end{document}
                    
! LaTeX Error: \begin{center} on input line 196 ended by \end{document}.

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

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

SUMMARY: processing the following files failed:
  ‘CNY.Rnw’ ‘INR.Rnw’

Error: Vignette re-building failed.
Execution halted