daattali / colourpicker

🎨 A colour picker tool for Shiny and for selecting colours in plots (in R)
https://daattali.com/shiny/colourInput/
Other
217 stars 28 forks source link

_R_CHECK_LENGTH_1_LOGIC2_ #39

Closed bastistician closed 4 years ago

bastistician commented 4 years ago

With enabled environment variable _R_CHECK_LENGTH_1_LOGIC2_, the colourpicker addin cannot be used. The error is

Error in !is.null(y) && !is.na(y) : 
  'length(x) = 3 > 1' in coercion to 'logical(1)'

from %AND%. See https://github.com/rstudio/shiny/commit/d7d8e78e420ba510667d102493aeaf16c30497c0 for how to fix this.

daattali commented 4 years ago

Thanks for pointing this out!