briandk/granovaGG — Issue #138: granovagg.1w error upon updating ggplot2
Author: mbask
Created: 2012-01-31 11:21:48+00:00
State: open

I get the following error upon call of granovagg.1w function, just after updating ggplot2 to version 0.9.0:

Errore in list(call = match.call(), aesthetics = aesthetics, scale_name = scale_name, :
'name' is missing

Here is a reproducible example:

> g <- granovagg.1w(site.start$G,
group=site.start$treatment,
ylab = "G (m2)",
main = "ANOVA")

> dput(site.start)
structure(list(treatment = structure(c(3L, 1L, 2L, 1L, 3L, 1L,
2L, 2L, 3L), .Label = c("i", "s", "t"), class = "factor"), G = c(16494.9322276732,
20428.991628131, 21346.598482367, 20356.7349970985, 21012.5424635353,
21970.990022268, 20798.9141630912, 22754.5555899509, 22287.2436827294
)), .Names = c("treatment", "G"), row.names = c(NA, 9L), class = "data.frame")