nicholasehamilton / ggtern

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

geom_density_tern() uses deprecated NULL-with-attributes #33

Open richierocks opened 7 years ago

richierocks commented 7 years ago

As of R 3.4.0, NULL variables can no longer have attributes.

From the NEWS:

structure(NULL, ..) is now deprecated as you cannot set attributes on NULL.

This means that using geom_density_tern() results in lots of errors.

To reproduce, run example(geom_density_tern) and look at the warnings().