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
Error: processing vignette ‘blueflame.rnw’ failed with diagnostics:
Running ‘texi2dvi’ on ‘blueflame.tex’ failed.
LaTeX errors:
! You can't use `macro parameter character #' in horizontal mode.
l.143 ...ary( colorSpec )library( spacesRGB )    #
                                                   for function plotPatchesR...

? 
! Emergency stop.
l.143 ...ary( colorSpec )library( spacesRGB )    #
                                                   for function plotPatchesR...
End of file on the terminal!

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

--- re-building ‘convexity.rnw’ using knitr
Error: processing vignette ‘convexity.rnw’ failed with diagnostics:
Running ‘texi2dvi’ on ‘convexity.tex’ failed.
LaTeX errors:
! Package xcolor Error: Undefined color `darkred'.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Emergency stop.
 ...                                              
                                                  
l.150 \code{responsivityMetrics()}
                                  ,
!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘convexity.rnw’

--- re-building ‘emulation.rnw’ using knitr
22:33:11.681 WARN  colorSpec::product.colorSpec(). The returned matrix is ambiguous; because it depends on the splitting. Inspect the matrix carefully. 
22:33:11.697 WARN  colorSpec::product.colorSpec(). The returned matrix is ambiguous; because it depends on the splitting. Inspect the matrix carefully. 
Error: processing vignette ‘emulation.rnw’ failed with diagnostics:
Running ‘texi2dvi’ on ‘emulation.tex’ failed.
LaTeX errors:
! You can't use `macro parameter character #' in horizontal mode.
l.128 ...ary( colorSpec )library( spacesRGB )    #
                                                   for function plotPatchesR...

? 
! Emergency stop.
l.128 ...ary( colorSpec )library( spacesRGB )    #
                                                   for function plotPatchesR...
End of file on the terminal!

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

--- re-building ‘gallery.rnw’ using knitr
Error: processing vignette ‘gallery.rnw’ failed with diagnostics:
Running ‘texi2dvi’ on ‘gallery.tex’ failed.
LaTeX errors:
! You can't use `macro parameter character #' in horizontal mode.
l.120 ...ary( colorSpec )library( spacesXYZ )    #
                                                   for function standardXYZ(...

? 
! Emergency stop.
l.120 ...ary( colorSpec )library( spacesXYZ )    #
                                                   for function standardXYZ(...
End of file on the terminal!

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

--- re-building ‘inversion.rnw’ using knitr
Error: processing vignette ‘inversion.rnw’ failed with diagnostics:
Running ‘texi2dvi’ on ‘inversion.tex’ failed.
LaTeX errors:
! You can't use `macro parameter character #' in horizontal mode.
l.143 ...( colorSpec )source( "invert-help.R" )  #
                                                   for plotOriginalPlusEstim...

? 
! Emergency stop.
l.143 ...( colorSpec )source( "invert-help.R" )  #
                                                   for plotOriginalPlusEstim...
End of file on the terminal!

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

--- re-building ‘lens-aging.rnw’ using knitr
Error: processing vignette ‘lens-aging.rnw’ failed with diagnostics:
Running ‘texi2dvi’ on ‘lens-aging.tex’ failed.
LaTeX errors:
! You can't use `macro parameter character #' in horizontal mode.
l.141 ...ary( colorSpec )library( spacesXYZ )    #
                                                   for function standardXYZ(...

? 
! Emergency stop.
l.141 ...ary( colorSpec )library( spacesXYZ )    #
                                                   for function standardXYZ(...
End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘lens-aging.rnw’

--- re-building ‘optimals.rnw’ using knitr
Error: processing vignette ‘optimals.rnw’ failed with diagnostics:
Running ‘texi2dvi’ on ‘optimals.tex’ failed.
LaTeX errors:
! You can't use `macro parameter character #' in horizontal mode.
l.119 ...y( colorSpec )source( "optimal-help.R" )#
                                                   make vctor of levels to b...

? 
! Emergency stop.
l.119 ...y( colorSpec )source( "optimal-help.R" )#
                                                   make vctor of levels to b...
End of file on the terminal!

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

SUMMARY: processing the following files failed:
  ‘blueflame.rnw’ ‘convexity.rnw’ ‘emulation.rnw’ ‘gallery.rnw’ ‘inversion.rnw’
  ‘lens-aging.rnw’ ‘optimals.rnw’

Error: Vignette re-building failed.
Execution halted