Error(s) in re-building vignettes:
--- re-building ‘fic.Rnw’ using knitr
Error: processing vignette 'fic.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'fic.tex' failed.
LaTeX errors:
! Undefined control sequence.
l.413 \hlkwd{library}\hldef
                           {(}\hlsng{"fic"}\hldef{)}
? 
! Emergency stop.
! Emergency stop.
l.413 
      
End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘fic.Rnw’

--- re-building ‘linear.Rnw’ using knitr
Error: processing vignette 'linear.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'linear.tex' failed.
LaTeX errors:
! Undefined control sequence.
l.102 \hldef
            {mtcars}\hlopt{$}\hldef{am} \hlkwb{<-} \hlkwd{factor}\hldef{(mtc...

? 
! Emergency stop.
l.102 
      
End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘linear.Rnw’

--- re-building ‘loss.Rnw’ using knitr
Error: processing vignette 'loss.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'loss.tex' failed.
LaTeX errors:
! Undefined control sequence.
l.86 \hlkwd{library}\hldef
                          {(fic)}
? 
! Emergency stop.
! Emergency stop.
l.86 
     
End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘loss.Rnw’

--- re-building ‘multistate.Rnw’ using knitr
Error: processing vignette 'multistate.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'multistate.tex' failed.
LaTeX errors:
! Undefined control sequence.
l.147 \hlkwa{if} \hldef
                       {(}\hlopt{!}\hlkwd{require}\hldef{(}\hlsng{"msm"}\hld...

? 
! Emergency stop.
l.147 
      
End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘multistate.Rnw’

--- re-building ‘skewnormal.Rnw’ using knitr
Error: processing vignette 'skewnormal.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'skewnormal.tex' failed.
LaTeX errors:
! Undefined control sequence.
l.110 \hldef
            {ldsnorm} \hlkwb{<-} \hlkwa{function}\hldef{(}\hlkwc{x}\hldef{,}...

? 
! Emergency stop.
l.110 
      
End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘skewnormal.Rnw’

--- re-building ‘survival.Rnw’ using knitr
Error: processing vignette 'survival.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'survival.tex' failed.
LaTeX errors:
! Undefined control sequence.
l.97 \hlkwa{if} \hldef
                      {(}\hlopt{!}\hlkwd{require}\hldef{(}\hlsng{"flexsurv"}...

? 
! Emergency stop.
l.97 
     
End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘survival.Rnw’

SUMMARY: processing the following files failed:
  ‘fic.Rnw’ ‘linear.Rnw’ ‘loss.Rnw’ ‘multistate.Rnw’ ‘skewnormal.Rnw’
  ‘survival.Rnw’

Error: Vignette re-building failed.
Execution halted