jrnold / ggthemes

Additional themes, scales, and geoms for ggplot2

Home Page:http://jrnold.github.io/ggthemes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems with theme_economist

valentinaandrade opened this issue Β· 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)

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 ...