Error(s) in re-building vignettes:
  ...
--- re-building 'IntroBiofiles.Rnw' using knitr
Error: processing vignette 'IntroBiofiles.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'IntroBiofiles.tex' failed.
LaTeX errors:
! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Argument of \Hy@scantitle has an extra }.
<inserted text> 
                \par 
l.166 \renewcommand{\title}
                           [1]{\def\@bioctitle{#1}\@oldtitle{#1}}
! Paragraph ended before \Hy@scantitle was complete.
<to be read again> 
                   \par 
l.166 \renewcommand{\title}
                           [1]{\def\@bioctitle{#1}\@oldtitle{#1}}
! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Illegal parameter number in definition of \@.
<to be read again> 
                   1
l.166 \renewcommand{\title}[1]{\def\@bioctitle{#1
                                                 }\@oldtitle{#1}}
! Use of \@ doesn't match its definition.
l.166 ...command{\title}[1]{\def\@bioctitle{#1}\@o
                                                  ldtitle{#1}}
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
! You can't use `macro parameter character #' in horizontal mode.
l.166 ...title}[1]{\def\@bioctitle{#1}\@oldtitle{#
                                                  1}}
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Argument of \etb@resrvda has an extra }.
<inserted text> 
                \par 
l.210 \patchcmd{\PN@parnote@real}{\thinspace}{}
                                               {}{}
! Paragraph ended before \etb@resrvda was complete.
<to be read again> 
                   \par 
l.210 \patchcmd{\PN@parnote@real}{\thinspace}{}
                                               {}{}
! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Undefined control sequence.
\\etb@patchcmd ...etb@resrvda \let #2\etb@resrvda 
                                                  \undef \etb@resrvda \@firs...
l.210 \patchcmd{\PN@parnote@real}{\thinspace}{}
                                               {}{}
! Argument of \@firstoftwo has an extra }.
<inserted text> 
                \par 
l.210 \patchcmd{\PN@parnote@real}{\thinspace}{}
                                               {}{}
! Paragraph ended before \@firstoftwo was complete.
<to be read again> 
                   \par 
l.210 \patchcmd{\PN@parnote@real}{\thinspace}{}
                                               {}{}
! Argument of \@secondoftwo has an extra }.
<inserted text> 
                \par 
l.210 \patchcmd{\PN@parnote@real}{\thinspace}{}
                                               {}{}
! Paragraph ended before \@secondoftwo was complete.
<to be read again> 
                   \par 
l.210 \patchcmd{\PN@parnote@real}{\thinspace}{}
                                               {}{}
! Missing number, treated as zero.
<to be read again> 
                   \@
l.71 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.71 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Missing number, treated as zero.
<to be read again> 
                   \@
l.71 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.71 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Undefined control sequence.
<argument> ... \hsize -\width \@totalleftmargin\z 
                                                  @ \linewidth \hsize \advan...
l.71 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Missing number, treated as zero.
<to be read again> 
                   \@
l.75 \end{kframe}
                 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.75 \end{kframe}
                 
! Missing number, treated as zero.
<to be read again> 
                   \@
l.75 \end{kframe}
                 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.75 \end{kframe}
                 
! Missing number, treated as zero.
<to be read again> 
                   \@
l.75 \end{kframe}
                 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.75 \end{kframe}
                 
! Missing number, treated as zero.
<to be read again> 
                   \@
l.75 \end{kframe}
                 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.75 \end{kframe}
                 
! Missing number, treated as zero.
<to be read again> 
                   \@
l.82 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.82 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Missing number, treated as zero.
<to be read again> 
                   \@
l.82 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.82 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Undefined control sequence.
<argument> ... \hsize -\width \@totalleftmargin\z 
                                                  @ \linewidth \hsize \advan...
l.82 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Missing number, treated as zero.
<to be read again> 
                   \@
l.87 \end{kframe}
                 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.87 \end{kframe}
                 
! Missing number, treated as zero.
<to be read again> 
                   \@
l.87 \end{kframe}
                 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.87 \end{kframe}
                 
! Missing number, treated as zero.
<to be read again> 
                   \@
l.87 \end{kframe}
                 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.87 \end{kframe}
                 
! Missing number, treated as zero.
<to be read again> 
                   \@
l.87 \end{kframe}
                 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.87 \end{kframe}
                 
! Missing number, treated as zero.
<to be read again> 
                   \@
l.91 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.91 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Missing number, treated as zero.
<to be read again> 
                   \@
l.91 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \@
l.91 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Undefined control sequence.
<argument> ... \hsize -\width \@totalleftmargin\z 
                                                  @ \linewidth \hsize \advan...
l.91 ...0.941, 0.941}\color{fgcolor}\begin{kframe}
                                                  
! Missing number, treated as zero.
<to 
--- failed re-building 'IntroBiofiles.Rnw'

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

Error: Vignette re-building failed.
Execution halted