plotly / plotly/plotly.R

Problem with plotly and purrr dependency

Offen
#2,260 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
R
Sterne
2.7k
Forks
641
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die Metadaten zu den Paketabhängigkeiten von plotly.R zu prüfen und die Installations- und Namespace-Fehler mit purrr 0.3.3 und 1.0.1 zu reproduzieren. Als abgeschlossen gilt die Aufgabe, wenn die unterstützten purrr-Versionen mit plotly kompatibel sind und die erforderliche Version korrekt angegeben oder dokumentiert ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
r
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.