worldbank / wbgviz

Several R packages for World Bank-standard visualisations, building on ggplot2
MIT License
30 stars 12 forks source link

geom_percent_col() doesn't behave as expected when given aes(fill=variable) #30

Open tkb opened 6 years ago

tkb commented 6 years ago

geom_percent_col(y= value, fill= variable) throws an error like:

Error: Aesthetics must be either length 1 or the same as the data (104): fill

which makes everyone sad.