Error(s) in re-building vignettes:
--- re-building 'MM2Sdata.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 "MM2Sdata.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 'MM2Sdata.Rnw' failed with diagnostics:
running 'texi2dvi' on 'MM2Sdata.tex' failed

LaTeX errors:
es/MM2Sdata.tex:118: Package xcolor Error: Undefined color `fgcolor'.

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

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
es/MM2Sdata.tex:139: Package xcolor Error: Undefined color `messagecolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
es/MM2Sdata.tex:141: Package xcolor Error: Undefined color `messagecolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
es/MM2Sdata.tex:143: Package xcolor Error: Undefined color `messagecolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
es/MM2Sdata.tex:145: Package xcolor Error: Undefined color `messagecolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
es/MM2Sdata.tex:147: Package xcolor Error: Undefined color `messagecolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
es/MM2Sdata.tex:149: Package xcolor Error: Undefined color `messagecolor'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
es/MM2Sdata.tex:149: pdfTeX error (font expansion): auto expansion is only poss
ible with scalable fonts.
<argument> ...shipout:D \box_use:N \l_shipout_box 
                                                  \__shipout_drop_firstpage_...
l.149 ... 'citation("{}pkgname"{})'.}}\end{kframe}
es/MM2Sdata.tex:149:  ==> Fatal error occurred, no output PDF file produced!

--- failed re-building 'MM2Sdata.Rnw'

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

Error: Vignette re-building failed.
Execution halted