Error(s) in re-building vignettes:
  ...
--- re-building ‘nhm-manual.Rnw’ using Sweave
Error: processing vignette 'nhm-manual.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'nhm-manual.tex' failed.
LaTeX errors:
! Argument of \@tempa has an extra }.
<inserted text> 
                \par 
l.662 ...hics[scale=0.3]{Figures/bspline_fit1.pdf}
                                                  
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.662 ...hics[scale=0.3]{Figures/bspline_fit1.pdf}
                                                  
! Extra }, or forgotten \endgroup.
<recently read> }
                 
l.662 ...hics[scale=0.3]{Figures/bspline_fit1.pdf}
                                                  
! Package graphics Error: Division by 0.

See the graphics package documentation 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: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Missing } inserted.
<inserted text> 
                }
l.663 \end{center}
                  
! Extra }, or forgotten \endgroup.
\@endfloatbox ...pagefalse \outer@nobreak \egroup 
                                                  \color@endbox 
l.664 \end{figure}
                  
! Extra }, or forgotten \endgroup.
\color@endbox ->\color@endgroup \egroup 
                                        
l.664 \end{figure}
                  
! LaTeX Error: \begin{center} on input line 661 ended by \end{figure}.

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.
 ...                                              
! Argument of \@tempa has an extra }.
<inserted text> 
                \par 
l.673 ...hics[scale=0.3]{Figures/bspline_fit2.pdf}
                                                  
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.673 ...hics[scale=0.3]{Figures/bspline_fit2.pdf}
                                                  
! Extra }, or forgotten \endgroup.
<recently read> }
                 
l.673 ...hics[scale=0.3]{Figures/bspline_fit2.pdf}
                                                  
! Package graphics Error: Division by 0.

See the graphics package documentation 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: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Missing } inserted.
<inserted text> 
                }
l.674 \end{center}
                  
! Extra }, or forgotten \endgroup.
\@endfloatbox ...pagefalse \outer@nobreak \egroup 
                                                  \color@endbox 
l.675 \end{figure}
                  
! Extra }, or forgotten \endgroup.
\color@endbox ->\color@endgroup \egroup 
                                        
l.675 \end{figure}
                  
! LaTeX Error: \begin{center} on input line 672 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 671 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 ... \endgroup \deadcycles \z@ \@@end 
                                                  
l.863 \end{document}
                    
! LaTeX Error: \begin{figure} on input line 671 ended by \end{document}.

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

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

SUMMARY: processing the following file failed:
  ‘nhm-manual.Rnw’

Error: Vignette re-building failed.
Execution halted