Problem with plotly and purrr dependency
未关闭
还没有人认领这个 Issue。
- 主要语言
- 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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查 plotly.R 的包依赖元数据,并使用 purrr 0.3.3 和 1.0.1 重现安装错误和 namespace 错误。当受支持的 purrr 版本与 plotly 兼容,且所需版本已准确声明或记录时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- r
- 领域
- data-visualization
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100