plotly / plotly/plotly.R

Problem with plotly and purrr dependency

Open
#2,260 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting plotly.R's package dependency metadata and reproducing the installation and namespace errors with purrr 0.3.3 and 1.0.1. Done means the supported purrr versions are compatible with plotly and the required version is accurately declared or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.