Error(s) in re-building vignettes:
--- re-building ‘spray.Rnw’ using Sweave
Loading required package: spray

Attaching package: ‘spray’

The following objects are masked from ‘package:base’:

    pmax, pmin

Error: processing vignette 'spray.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'spray.tex' failed.
LaTeX errors:
! Undefined control sequence.
\Ginclude@graphics ...\Ginput@path \set@curr@file 
                                                  {#1}\edef \uq@curr@file {\...
l.691 ...[width=10cm]{four_dimensional_knight.pdf}
                                                  
! Missing $ inserted.
<inserted text> 
                $
l.691 ...[width=10cm]{four_dimensional_knight.pdf}
                                                  
! Extra }, or forgotten $.
\Ginclude@graphics ...put@path \set@curr@file {#1}
                                                  \edef \uq@curr@file {\expa...
l.691 ...[width=10cm]{four_dimensional_knight.pdf}
                                                  
! Undefined control sequence.
\Ginclude@graphics ...e \expandafter {\@curr@file 
                                                  }}\expandafter \filename@p...
l.691 ...[width=10cm]{four_dimensional_knight.pdf}
                                                  
! Undefined control sequence.
<recently read> \unquote@name 
                              
l.691 ...[width=10cm]{four_dimensional_knight.pdf}
                                                  
! Undefined control sequence.
<recently read> \quote@name 
                            
l.691 ...[width=10cm]{four_dimensional_knight.pdf}
                                                  
! Undefined control sequence.
<recently read> \quote@name 
                            
l.691 ...[width=10cm]{four_dimensional_knight.pdf}
                                                  
! LaTeX Error: File `four_dimensional_knight.pdf' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Missing $ inserted.
<inserted text> 
                $
l.691 ...[width=10cm]{four_dimensional_knight.pdf}
                                                  
! Missing } inserted.
<inserted text> 
                }
l.691 ...[width=10cm]{four_dimensional_knight.pdf}
                                                  
--- failed re-building 'spray.Rnw'

SUMMARY: processing the following file failed:
  'spray.Rnw'

Error: Vignette re-building failed.
Execution halted