plotly / plotly/plotly.R

Warning message with geom_vline and geom_hline

オープン
#2,138 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
R
スター
2.7k
フォーク
641
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

geom_vline、geom_hline、ggplotlyを使用して、リンクされた水平/垂直シェイプの例で警告を再現します。非推奨のtidyr gather_()警告を出力する変換経路を追跡し、その後、警告なしで例が引き続きレンダリングされることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
r
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
43/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。