Error(s) in re-building vignettes:
  ...
--- re-building ‘inference.Rnw’ using Sweave
Loading required package: lattice
Loading required package: MASS
Loading required package: nnet
Loading required package: ggplot2
Error: processing vignette 'inference.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'inference.tex' failed.
LaTeX errors:
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.742 
      
! LaTeX Error: \begin{center} on input line 734 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.1103 \end{document}
                     
! LaTeX Error: \begin{center} on input line 734 ended by \end{document}.

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

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building 'inference.Rnw'

--- re-building ‘synthpop.Rnw’ using Sweave
Loading required package: lattice
Loading required package: MASS
Loading required package: nnet
Loading required package: ggplot2
Error: processing vignette 'synthpop.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'synthpop.tex' failed.
LaTeX errors:
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.631 
      
! 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.661 
      
! 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.791 
      
! LaTeX Error: \begin{figure} on input line 785 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.801 \end{document}
                    
! LaTeX Error: \begin{figure} on input line 785 ended by \end{document}.

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

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building 'synthpop.Rnw'

SUMMARY: processing the following files failed:
  ‘inference.Rnw’ ‘synthpop.Rnw’

Error: Vignette re-building failed.
Execution halted