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

colourInput() has been moved to the 'colourpicker' package #47

Closed salmanahmed84 closed 2 years ago

salmanahmed84 commented 2 years ago

Hi,

While using some packages e.g. rtutoR, I am facing below warning and after that the package stops working(do not plot anything)

Warning: Error in : colourInput() has been moved to the 'colourpicker' package. 111: Warning: Error in if: argument is of length zero [No stack trace available]

Somehow it is referencing ColorInput, however colourpicker is installed and loaded just before running the rtutoR package In another thread, it was mentioned that colourpicker 1.2 on github works but 1.1.1.9 is one available on github

https://github.com/jforbes14/eechidna/issues/18

daattali commented 2 years ago

That sounds like an issue with the package you're using, not with colourpicker. You should contact the author of that package and let them know about the error, they need to update their internal calls to colourInput to use the colourpicker package.