plotly / plotly/plotly.R

Problem with plotly and purrr dependency

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

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

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

説明

Hello,
I am facing a problem in the installation and calling of plotly, the package asks for the version 1.0.1 of purrr to work but:

  • There is no precision about the version of purrr in the description
  • even if I try to install an old version of plotly (4.9.1 released in 2019) it asks for the version 1.0.1 of purrr (released in 2023)
  • I need to have purr in an older version (about 0.3.3 - 0.3.5)

This is the error when I try to install the package:

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
  namespace 'purrr' 0.3.3 is already loaded, but >= 1.0.1 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'plotly'

This is when I try to call the library (I installed plotly with the good version of purrr, then I install the version of purr I need):

Error: package or namespace load failed for 'plotly' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 namespace 'purrr' 0.3.3 is already loaded, but >= 1.0.1 is required

Do you have any idea of how to solve it?
Thank you

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

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

はじめの一歩

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

調査の方向性

まず plotly.R のパッケージ依存関係メタデータを調査し、purrr 0.3.3 および 1.0.1 でインストールエラーと namespace エラーを再現します。サポート対象の purrr バージョンが plotly と互換性を持ち、必要なバージョンが正確に宣言または文書化されていれば完了です。

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

評価

技術スタック
r
領域
data-visualization
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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