Error(s) in re-building vignettes:
--- re-building ‘surface_tutorial.Rnw’ using Sweave
Loading required package: ape
Loading required package: ouch
Loading required package: subplex
Loading required package: MASS
Loading required package: geiger
Error: processing vignette 'surface_tutorial.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'surface_tutorial.tex' failed.
LaTeX errors:
! Undefined control sequence.
\Ginclude@graphics ...\Ginput@path \set@curr@file 
                                                  {#1}\edef \uq@curr@file {\...
l.128 \includegraphics{surface_tutorial-007}
                                            
! Missing $ inserted.
<inserted text> 
                $
l.128 \includegraphics{surface_tutorial-007}
                                            
! Extra }, or forgotten $.
\Ginclude@graphics ...put@path \set@curr@file {#1}
                                                  \edef \uq@curr@file {\expa...
l.128 \includegraphics{surface_tutorial-007}
                                            
! Undefined control sequence.
\Ginclude@graphics ...e \expandafter {\@curr@file 
                                                  }}\expandafter \filename@p...
l.128 \includegraphics{surface_tutorial-007}
                                            
! Undefined control sequence.
<recently read> \unquote@name 
                              
l.128 \includegraphics{surface_tutorial-007}
                                            
! Undefined control sequence.
<recently read> \quote@name 
                            
l.128 \includegraphics{surface_tutorial-007}
                                            
! Undefined control sequence.
<recently read> \quote@name 
                            
l.128 \includegraphics{surface_tutorial-007}
                                            
! LaTeX Error: File `surface_tutorial-007' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Missing $ inserted.
<inserted text> 
                $
l.128 \includegraphics{surface_tutorial-007}
                                            
! Missing } inserted.
<inserted text> 
                }
l.128 \includegraphics{surface_tutorial-007}
                                            
! Undefined control sequence.
\Ginclude@graphics ...\Ginput@path \set@curr@file 
                                                  {#1}\edef \uq@curr@file {\...
l.136 \includegraphics{surface_tutorial-008}
                                            
! Missing $ inserted.
<inserted text> 
                $
l.136 \includegraphics{surface_tutorial-008}
                                            
! Extra }, or forgotten $.
\Ginclude@graphics ...put@path \set@curr@file {#1}
                                                  \edef \uq@curr@file {\expa...
l.136 \includegraphics{surface_tutorial-008}
                                            
! Undefined control sequence.
\Ginclude@graphics ...e \expandafter {\@curr@file 
                                                  }}\expandafter \filename@p...
l.136 \includegraphics{surface_tutorial-008}
                                            
! Undefined control sequence.
<recently read> \unquote@name 
                              
l.136 \includegraphics{surface_tutorial-008}
                                            
! Undefined control sequence.
<recently read> \quote@name 
                            
l.136 \includegraphics{surface_tutorial-008}
                                            
! Undefined control sequence.
<recently read> \quote@name 
                            
l.136 \includegraphics{surface_tutorial-008}
                                            
! LaTeX Error: File `surface_tutorial-008' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Missing $ inserted.
<inserted text> 
                $
l.136 \includegraphics{surface_tutorial-008}
                                            
! Missing } inserted.
<inserted text> 
                }
l.136 \includegraphics{surface_tutorial-008}
                                            
! Undefined control sequence.
\Ginclude@graphics ...\Ginput@path \set@curr@file 
                                                  {#1}\edef \uq@curr@file {\...
l.164 \includegraphics{surface_tutorial-011}
                                            
! Missing $ inserted.
<inserted text> 
                $
l.164 \includegraphics{surface_tutorial-011}
                                            
! Extra }, or forgotten $.
\Ginclude@graphics ...put@path \set@curr@file {#1}
                                                  \edef \uq@curr@file {\expa...
l.164 \includegraphics{surface_tutorial-011}
                                            
! Undefined control sequence.
\Ginclude@graphics ...e \expandafter {\@curr@file 
                                                  }}\expandafter \filename@p...
l.164 \includegraphics{surface_tutorial-011}
                                            
! Undefined control sequence.
<recently read> \unquote@name 
                              
l.164 \includegraphics{surface_tutorial-011}
                                            
! Undefined control sequence.
<recently read> \quote@name 
                            
l.164 \includegraphics{surface_tutorial-011}
                                            
! Undefined control sequence.
<recently read> \quote@name 
                            
l.164 \includegraphics{surface_tutorial-011}
                                            
! LaTeX Error: File `surface_tutorial-011' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Missing $ inserted.
<inserted text> 
                $
l.164 \includegraphics{surface_tutorial-011}
                                            
! Missing } inserted.
<inserted text> 
                }
l.164 \includegraphics{surface_tutorial-011}
                                            
! Undefined control sequence.
\Ginclude@graphics ...\Ginput@path \set@curr@file 
                                                  {#1}\edef \uq@curr@file {\...
l.202 \includegraphics{surface_tutorial-014}
                                            
! Missing $ inserted.
<inserted text> 
                $
l.202 \includegraphics{surface_tutorial-014}
                                            
! Extra }, or forgotten $.
\Ginclude@graphics ...put@path \set@curr@file {#1}
                                                  \edef \uq@curr@file {\expa...
l.202 \includegraphics{surface_tutorial-014}
                                            
! Undefined control sequence.
\Ginclude@graphics ...e \expandafter {\@curr@file 
                                                  }}\expandafter \filename@p...
l.202 \includegraphics{surface_tutorial-014}
                                            
! Undefined control sequence.
<recently read> \unquote@name 
                              
l.202 \includegraphics{surface_tutorial-014}
                                            
! Undefined control sequence.
<recently read> \quote@name 
                            
l.202 \includegraphics{surface_tutorial-014}
                                            
! Undefined control sequence.
<recently read> \quote@name 
                            
l.202 \includegraphics{surface_tutorial-014}
                                            
! LaTeX Error: File `surface_tutorial-014' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Missing $ inserted.
<inserted text> 
                $
l.202 \includegraphics{surface_tutorial-014}
                                            
! Missing } inserted.
<inserted text> 
                }
l.202 \includegraphics{surface_tutorial-014}
                                            
! Undefined control sequence.
\Ginclude@graphics ...\Ginput@path \set@curr@file 
                                                  {#1}\edef \uq@curr@file {\...
l.239 \includegraphics{surface_tutorial-016}
                                            
! Missing $ inserted.
<inserted text> 
                $
l.239 \includegraphics{surface_tutorial-016}
                                            
! Ext
--- failed re-building ‘surface_tutorial.Rnw’

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

Error: Vignette re-building failed.
Execution halted