ggthemes icon indicating copy to clipboard operation
ggthemes copied to clipboard

Problems with theme_economist

Open valentinaandrade opened this issue 2 years ago • 1 comments

Hi! 👋🏼 I can't reproduce the example put to use theme_economist.

dsamp <- diamonds[sample(nrow(diamonds), 1000), ] qplot(carat, price, data=dsamp, colour=clarity) + theme_economist(stata=TRUE) + scale_colour_economist(stata=TRUE)

The error is Error in theme_economist(stata = TRUE) : unused argument (stata = TRUE)

valentinaandrade avatar Sep 03 '21 00:09 valentinaandrade

According to the NEWS file this argument was removed in ggthemes version 4.0.0 (I have no idea why). If you really need this option you could install an older version of the package ...

bbolker avatar Sep 21 '21 00:09 bbolker