Error(s) in re-building vignettes:
  ...
--- re-building ‘fscaret.Rnw’ using Sweave
Loading required package: caret
Loading required package: lattice
Loading required package: ggplot2
Loading required package: gsubfn
Loading required package: proto
Loading required package: hmeasure
Loading required package: parallel

Attaching package: ‘fscaret’

The following object is masked from ‘package:caret’:

    RMSE

Error: processing vignette 'fscaret.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'fscaret.tex' failed.
LaTeX errors:
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.446 
      
! Extra }, or forgotten \endgroup.
\@endfloatbox ...pagefalse \outer@nobreak \egroup 
                                                  \color@endbox 
l.450 \end{figure}
                  
! Extra }, or forgotten \endgroup.
\color@endbox ->\color@endgroup \egroup 
                                        
l.450 \end{figure}
                  
! LaTeX Error: \begin{center} on input line 444 ended by \end{figure}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: \begin{figure} on input line 443 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.513 \end{document}
                    
! LaTeX Error: \begin{figure} on input line 443 ended by \end{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Missing } inserted.
<inserted text> 
                }
l.513 \end{document}
                    
! Emergency stop.
<*> \nonstopmode \input ./fscaret.tex
                                     
*** (job aborted, no legal \end found)

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

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

Error: Vignette re-building failed.
Execution halted