hadley/ggplot2 — Issue #277: geom_boxplot gives error: position_dodge requires constant width
Author: wch
Created: 2011-12-05 03:52:41+00:00
State: open

Some of the examples from the geom_boxplot help don't work. It's not clear to me why this happens.

```R
m <- ggplot(movies, aes(y = votes, x = rating, group = round_any(rating, 0.5)))
m + geom_boxplot()
# Error: position_dodge requires constant width
```

```R
qplot(year, budget, data = movies, geom = "boxplot", group = round_any(year, 10, floor))
# Error: position_dodge requires constant width
# In addition: Warning message:
# Removed 53573 rows containing non-finite values (stat_boxplot).
```