Skip to content

Warning message with geom_vline and geom_hline #2138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gschifman opened this issue May 19, 2022 · 2 comments
Open

Warning message with geom_vline and geom_hline #2138

gschifman opened this issue May 19, 2022 · 2 comments

Comments

@gschifman
Copy link

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.

@pdiakumis
Copy link

Think this was fixed in #2125, though it's not on CRAN as of yet.

@MikeWLloyd
Copy link

any ETA on when the fix will be on CRAN?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants