nicholasehamilton / ggtern

Extension to ggplot2 for plotting ternary diagrams
www.ggtern.com
55 stars 14 forks source link

On loading ggtern theme(legend.position="none") has error in ggplot2 plots #19

Open FvD opened 9 years ago

FvD commented 9 years ago

Regardless of whether ggtern is loaded before or after ggplot2, any ggplot graphs that have

theme(legend.position="none")

will throw the error:

Error:object of type 'closure' is not subsettable

detaching ggtern (detach("package:ggtern", unload=TRUE)) solves the problem with the ggplot graphs.

nicholasehamilton commented 9 years ago

Thanks very much letting me know. I'll fix this for the next release.

Cheers,

NH.

gilleschapron commented 9 years ago

Hi Nicolas,

I have seen your are doing theses days some improvement to your package, so I humbly remind you this issue. I'm using your package in my own and I'm stuck combine functions using ggtern with functions using only ggplot2 and

theme(legend.position="none")

Many thanks for your work,

Regards, Gilles