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

--- re-building ‘exams2.Rnw’ using Sweave
Warning in exams(myexam, n = 3, dir = odir, template = c("exam", "solution")) :
  The template exam.tex has been adapted to exams2pdf() and is not
  fully compatible with exams() anymore. Template oexam.tex used
  instead.
Warning in exams(myexam, n = 3, dir = odir, template = c("exam", "solution")) :
  The template solution.tex has been adapted to exams2pdf() and is
  not fully compatible with exams() anymore. Template osolution.tex
  used instead.
  adding: qti.xml (deflated 64%)
Error: processing vignette 'exams2.Rnw' failed with diagnostics:
Running ‘texi2dvi’ on ‘exams2.tex’ failed.
LaTeX errors:
! Undefined control sequence.
<recently read> \Hy@colorlink 
                              
l.71 \begin{document}
                     
! Undefined control sequence.
\close@pdflink ->\Hy@endcolorlink 
                                  \Hy@VerboseLinkStop \pdfendlink 
l.71 \begin{document}
                     
! Undefined control sequence.
<recently read> \Hy@colorlink 
                              
l.71 \begin{document}
                     
! Undefined control sequence.
\close@pdflink ->\Hy@endcolorlink 
                                  \Hy@VerboseLinkStop \pdfendlink 
l.71 \begin{document}
                     
--- failed re-building ‘exams2.Rnw’

SUMMARY: processing the following files failed:
  ‘exams.Rnw’ ‘exams2.Rnw’

Error: Vignette re-building failed.
Execution halted