yutannihilation / gghighlight

Highlight points and lines in ggplot2

Home Page:https://yutannihilation.github.io/gghighlight/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warning with dplyr::filter

apsteinmetz opened this issue · comments

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()`. 

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