dreamRs / esquisse

RStudio add-in to make plots interactively with ggplot2
https://dreamrs.github.io/esquisse
Other
1.76k stars 228 forks source link

Issue in running esquisse addin #121

Closed sarthi2395 closed 3 years ago

sarthi2395 commented 4 years ago

I recently did a clean install of all my R packages along with which I also installed esquisse package from github repo. Right now, when I initiate the add-in, I get this error.

esquisse::esquisser()
Error in col2Hex(viridis_pal(option = "viridis")(10)) : 
  could not find function "col2Hex"

This used to work flawlessly before I updated my libraries. Could anyone help me out with this?

EDIT:

I noticed in the default-options.R file, the function default_cols has col2Hex referred. But when I searched R vignettes for gplots package, the H seems to be in lowercase, as col2hex. I guess that is causing this issue?

pvictor commented 3 years ago

This should be fixed if you re-install from GitHub. col2Hex was an internal function, now removed.