Il 30/04/20 03:39, Dirk Eddelbuettel ha scritto:

On 30 April 2020 at 03:26, Samuele Carcagno wrote:
| I'm not familiar with the internals of `viridisLite`, so I'm not sure
| I'd be able to help there. I could open a bug report on the
| `viridisLite` repo and see if the author has suggestions on how to
| narrow down the issue.

after some further investigation I've found out that on my system the bug is triggered by a call to the `convertColor` function in `grDevices`. The following three lines of code, taken from the `convertColor` documentation are sufficient to trigger the bug:

## --------------------
ab <- expand.grid(a = (-10:15)*10,
                  b = (-15:10)*10)
Lab <- cbind(L = 20, ab)
srgb <- convertColor(Lab, from = "Lab", to = "sRGB", clip = NA)
## ---------------------


It would help if someone running Ubuntu 20.04 could reproduce.

to be precise I'm running Kubuntu 20.04 rather than Ubuntu, but I don't think that should make a difference.

Best,

Sam

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to