hadley/ggplot2 — Issue #323: Error in as.environment(where) no item called "package::ggplot2" on the search list
Author: wch
Created: 2011-12-24 01:49:05+00:00
State: open

Apparently a recent commit broke something for me. I was taking a look at #270 again, but the code wouldn't run anymore. I'm not sure exactly what the problem is, but `git bisect` tracked it to commit a9f5e0a4016a58d612cf286291efe427f1bf6c9f (regarding test package).

```
dat <- data.frame(x=1:6, y=1:3)

# OK
ggplot(dat, aes(x=x,y=y)) + geom_boxplot()

# Not OK
ggplot(dat, aes(x=x,y=y)) + geom_boxplot(aes(group=x))
# Error in as.environment(where) :
# no item called "package::ggplot2" on the search list
#
# Enter a frame number, or 0 to exit
#
# 1: print(list(data = list(x = 1:6, y = c(1, 2, 3, 1, 2, 3)), layers = list(