plotly.R
plotly.R copied to clipboard
Warning message with geom_vline and geom_hline
I'm seeing a strange warning message when I use the geom_hline and geom_vline functions in plotly 4.10.0. It pops up when I run the first example from this page:
library(plotly)
library(ggplot2)
p <- ggplot(data=mtcars, aes(x=wt, y=mpg)) + geom_point() +
geom_vline(xintercept = 3)
ggplotly(p)
Here's the warning message I get:
Warning message:
`gather_()` was deprecated in tidyr 1.2.0.
Please use `gather()` instead.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
This message pops up even when the tidyr package isn't loaded. At the same time, the example chart looks fine, so this would seem to be a warning without an actual error.
Think this was fixed in https://github.com/plotly/plotly.R/pull/2125, though it's not on CRAN as of yet.
any ETA on when the fix will be on CRAN?