Error(s) in re-building vignettes:
  ...
--- re-building ‘Cusp-JSS.Rnw’ using Sweave
Error: processing vignette 'Cusp-JSS.Rnw' failed with diagnostics:
Running ‘texi2dvi’ on ‘Cusp-JSS.tex’ failed.
LaTeX errors:
! Undefined control sequence.
<recently read> \Hy@colorlink 
                              
l.73 \begin{document}
                     
! Undefined control sequence.
\close@pdflink ->\Hy@endcolorlink 
                                  \Hy@VerboseLinkStop \pdfendlink 
l.73 \begin{document}
                     
! Undefined control sequence.
<recently read> \Hy@colorlink 
                              
l.73 \begin{document}
                     
! Undefined control sequence.
\close@pdflink ->\Hy@endcolorlink 
                                  \Hy@VerboseLinkStop \pdfendlink 
l.73 \begin{document}
                     
! Undefined control sequence.
<recently read> \Hy@colorlink 
                              
l.73 \begin{document}
                     
! Undefined control sequence.
\close@pdflink ->\Hy@endcolorlink 
                                  \Hy@VerboseLinkStop \pdfendlink 
l.73 \begin{document}
                     
! Undefined control sequence.
<recently read> \Hy@colorlink 
                              
l.73 \begin{document}
                     
! Undefined control sequence.
\close@pdflink ->\Hy@endcolorlink 
                                  \Hy@VerboseLinkStop \pdfendlink 
l.73 \begin{document}
                     
! Undefined control sequence.
<recently read> \Hy@colorlink 
                              
l.73 \begin{document}
                     
! Undefined control sequence.
\close@pdflink ->\Hy@endcolorlink 
                                  \Hy@VerboseLinkStop \pdfendlink 
l.73 \begin{document}
                     
! Undefined control sequence.
<recently read> \Hy@colorlink 
                              
l.73 \begin{document}
                     
! Undefined control sequence.
\close@pdflink ->\Hy@endcolorlink 
                                  \Hy@VerboseLinkStop \pdfendlink 
l.73 \begin{document}
                     
--- failed re-building ‘Cusp-JSS.Rnw’

--- re-building ‘cusp-hands-on-examples.Rnw’ using Sweave
Warning in model.matrix.default(mt, mf, contrasts) :
  non-list contrasts argument ignored
Warning in model.matrix.default(mta, mfa, contrasts) :
  non-list contrasts argument ignored
Warning in model.matrix.default(mtb, mfb, contrasts) :
  non-list contrasts argument ignored
Warning in sqrt(rss) : NaNs produced
Loading required package: plot3D
--- finished re-building ‘cusp-hands-on-examples.Rnw’

SUMMARY: processing the following file failed:
  ‘Cusp-JSS.Rnw’

Error: Vignette re-building failed.
Execution halted