Should theme(palette.* = )
raise a warning when options(ggplot2.* = )
is set?
#6333
Labels
theme(palette.* = )
raise a warning when options(ggplot2.* = )
is set?
#6333
I read the comments on #5946 and it's for the sake of compatibility that the new
theme(palette.* = )
is enabled only when the correspondingpalette
isNULL
. But, I feel it's a bit confusing to seetheme(palette.* = )
is silently ignored.Especially, if I were a theme developer, I will be afraid of inquiries like "Hey, your theme doesn't work on my machine, Why?" from those who set
options(ggplot2.*)
. I think it's a rare case and not a serious issue, but I'm wondering if it's friendlier to show a warning.Created on 2025-02-16 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: