Skip to content

ggtern will not run with the latest ggplot2 #49

Description

@Knighty16

There seems to be an issue with ggtern running with the new ggplot2. I have tried to load earlier versions of R, ggtern, and ggplot2 but cannot get them working. With the latest versions I get the following error:

Error: geom_point requires the following missing aesthetics: x and y

rlang::last_error()
<error/rlang_error>
geom_point requires the following missing aesthetics: x and y
Backtrace:

  1. (function (x, ...) ...
  2. ggtern:::print.ggplot(x)
  3. ggtern:::ggplot_build.ggplot(x)
  4. ggtern:::by_layer(function(l, d) l$compute_geom_1(d))
  5. ggtern:::f(l = layers[[i]], d = data[[i]])
  6. l$compute_geom_1(d)
  7. ggplot2:::f(..., self = self)
  8. ggplot2:::check_required_aesthetics(...)

rlang::last_trace()
<error/rlang_error>
geom_point requires the following missing aesthetics: x and y
Backtrace:
x

  1. +-(function (x, ...) ...
  2. -ggtern:::print.ggplot(x)
  3. +-ggtern::ggplot_build(x)
  4. -ggtern:::ggplot_build.ggplot(x)
  5. \-ggtern:::by_layer(function(l, d) l$compute_geom_1(d))
    
  6.   \-ggtern:::f(l = layers[[i]], d = data[[i]])
    
  7.     \-l$compute_geom_1(d)
    
  8.       \-ggplot2:::f(..., self = self)
    
  9.         \-ggplot2:::check_required_aesthetics(...)
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions