Error(s) in re-building vignettes:
--- re-building 'examples.Rnw' using knitr
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"C:\PROGRA~1\MiKTeX\miktex\bin\x64\texify.exe" --quiet --pdf "examples.tex" --max-iterations=20 -I "C:/r_packages/rinst/share/texmf/tex/latex" -I "C:/r_packages/rinst/share/texmf/bibtex/bst"' had status 1
Error: processing vignette 'examples.Rnw' failed with diagnostics:
running 'texi2dvi' on 'examples.tex' failed

LaTeX errors:
mples.tex:101: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:129: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:154: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:174: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:201: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:231: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:261: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:288: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:327: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:346: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:378: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:390: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:401: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:454: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:496: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:505: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:547: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:568: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:585: Package xcolor Error: Undefined color `errorcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:597: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:608: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:659: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
mples.tex:698: Package xcolor Error: Undefined color `fgcolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

--- failed re-building 'examples.Rnw'

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

Error: Vignette re-building failed.
Execution halted