davidsjoberg/ggsankey

could not find function "sum_" with geom_sankey_bump()

gkaramanis opened this issue · 1 comments

I get this error when I run the example for geom_sankey_bump()

Problem with `summarise()` input `gdp`.
x could not find function "sum_"
ℹ Input `gdp` is `(sum_(pop * gdpPercap)/1e+09) %>% round(0)`.
ℹ The error occurred in group 1: continent = "Africa", year = 1952.
Backtrace:
  1. base::source("~/.active-rstudio-document", echo = TRUE)
 13. base::.handleSimpleError(...)
 14. dplyr:::h(simpleError(msg, call))
Run `rlang::last_trace()` to see the full context.

geom_sankey() works like a charm, by the way! 😀

Oops. I fix that