Skip to content

Warning message with geom_vline and geom_hline #2138

Open
@gschifman

Description

@gschifman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions