yutannihilation / gghighlight

Highlight points and lines in ggplot2
https://yutannihilation.github.io/gghighlight/
Other
522 stars 23 forks source link

warning with dplyr::filter #183

Closed apsteinmetz closed 2 years ago

apsteinmetz commented 2 years ago

The plot is rendered correctly but a warning is thrown.

all_paths %>%
   ggplot(aes(Quarter,value,color=name)) + geom_line() +
   gghighlight(tail(value,n=1) < 100,use_direct_label = FALSE) +
   theme(legend.position = "none")

Warning message:
Using `across()` in `filter()` is deprecated, use `if_any()` or `if_all()`. 
yutannihilation commented 2 years ago

Thanks for reporting! This is already fixed in the dev version.