Displaying 1 result from an estimated 1 matches for "rename_a".
Did you mean:
rename_1
2009 Nov 04
0
Weird errors with R CMD check/ggplot2 in examples: how to debug?
....troops); data(Minard.cities)
> ## maybe str(Minard.troops) ; plot(Minard.troops) ...
>
> require(ggplot2)
Loading required package: ggplot2
> plot_troops <- ggplot(Minard.troops, aes(long, lat)) +
+ geom_path(aes(size = survivors, colour = direction, group = group))
Error in rename_aes(aes) : could not find function "rename"
Calls: ggplot -> ggplot.data.frame -> inherits -> aes -> rename_aes
Execution halted
Consequently, I've been forced to put that example inside of
\dontrun{}. I thought it might be a problem associated with
StatET/eclipse, but I...