Error(s) in re-building vignettes:
--- re-building 'colorSpec-guide.Rmd' using rmarkdown
--- finished re-building 'colorSpec-guide.Rmd'

--- re-building 'phenolred.Rmd' using rmarkdown

Attaching package: 'spacesRGB'

The following objects are masked from 'package:colorSpec':

    RGBfromXYZ, metadata, metadata<-

--- finished re-building 'phenolred.Rmd'

--- re-building 'photoncounting.Rmd' using rmarkdown
--- finished re-building 'photoncounting.Rmd'

--- re-building 'blueflame.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 "blueflame.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
--- finished re-building 'blueflame.rnw'

--- re-building 'convexity.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 "convexity.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 'convexity.rnw' failed with diagnostics:
running 'texi2dvi' on 'convexity.tex' failed

LaTeX errors:
ettes/convexity.tex:150: Package xcolor Error: Undefined color `darkred'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
ettes/convexity.tex:151: Package xcolor Error: Undefined color `darkred'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
ettes/convexity.tex:152: Package xcolor Error: Undefined color `darkred'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
ettes/convexity.tex:213: Package xcolor Error: Undefined color `darkred'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
ettes/convexity.tex:214: Package xcolor Error: Undefined color `darkred'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
ettes/convexity.tex:247: Package xcolor Error: Undefined color `darkred'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
ettes/convexity.tex:338: Package xcolor Error: Undefined color `darkred'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
ettes/convexity.tex:398: Package xcolor Error: Undefined color `darkred'.

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

--- failed re-building 'convexity.rnw'

--- re-building 'emulation.rnw' using knitr
10:37:31.413 WARN  colorSpec::product.colorSpec(). The returned matrix is ambiguous; because it depends on the splitting. Inspect the matrix carefully. 
10:37:31.426 WARN  colorSpec::product.colorSpec(). The returned matrix is ambiguous; because it depends on the splitting. Inspect the matrix carefully. 
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"C:\PROGRA~1\MiKTeX\miktex\bin\x64\texify.exe" --quiet --pdf "emulation.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
--- finished re-building 'emulation.rnw'

--- re-building 'gallery.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 "gallery.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 'gallery.rnw' failed with diagnostics:
running 'texi2dvi' on 'gallery.tex' failed

LaTeX errors:
ettes/gallery.tex:227: LaTeX Error: Command \ttfamily invalid in math mode.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

--- failed re-building 'gallery.rnw'

--- re-building 'inversion.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 "inversion.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
--- finished re-building 'inversion.rnw'

--- re-building 'lens-aging.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 "lens-aging.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
--- finished re-building 'lens-aging.rnw'

--- re-building 'optimals.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 "optimals.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
--- finished re-building 'optimals.rnw'

SUMMARY: processing the following files failed:
  'convexity.rnw' 'gallery.rnw'

Error: Vignette re-building failed.
Execution halted