Error(s) in re-building vignettes:
--- re-building ‘Rchaeology.Rnw’ using Sweave
Error: processing vignette 'Rchaeology.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'Rchaeology.tex' failed.
LaTeX errors:
! Package Listings Error: Extra \endSinput.

See the Listings package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Emergency stop.
 ...                                              
                                                  
l.275 \end{Sinput}
                  
!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building 'Rchaeology.Rnw'

--- re-building ‘Rstyle.Rnw’ using Sweave
Error: processing vignette 'Rstyle.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'Rstyle.tex' failed.
LaTeX errors:
! Package Listings Error: Extra \endSinput.

See the Listings package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Emergency stop.
 ...                                              
                                                  
l.873 \end{Sinput}
                  
!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building 'Rstyle.Rnw'

--- re-building ‘outreg.Rnw’ using Sweave
Loading required package: car
Loading required package: carData
Error: processing vignette 'outreg.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'outreg.tex' failed.
LaTeX errors:
! Missing $ inserted.
<inserted text> 
                $
l.631 ... 5 * rnorm(100) + 3 * dat$x1 + 4 * dat$x2
                                                  
! Emergency stop.
<inserted text> 
                $
l.631 ... 5 * rnorm(100) + 3 * dat$x1 + 4 * dat$x2
                                                  
!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘outreg.Rnw’

--- re-building ‘rockchalk.Rnw’ using Sweave
Warning in formula.character(object, env = baseenv()) :
  Using formula(x) is deprecated when x is a character vector of length > 1.
  Consider formula(paste(x, collapse = " ")) instead.
Error: processing vignette 'rockchalk.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'rockchalk.tex' failed.
LaTeX errors:
! Package Listings Error: Extra \endSinput.

See the Listings package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Emergency stop.
 ...                                              
                                                  
l.189 \end{Sinput}
                  
!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building 'rockchalk.Rnw'

SUMMARY: processing the following files failed:
  ‘Rchaeology.Rnw’ ‘Rstyle.Rnw’ ‘outreg.Rnw’ ‘rockchalk.Rnw’

Error: Vignette re-building failed.
Execution halted