plotly / plotly/plotly.R

Problem with plotly and purrr dependency

Aperta
#2,260 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
R
Stelle
2.7k
Fork
641
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia esaminando i metadati delle dipendenze del package di plotly.R e riproducendo gli errori di installazione e di namespace con purrr 0.3.3 e 1.0.1. Il lavoro è completato quando le versioni supportate di purrr sono compatibili con plotly e la versione richiesta è dichiarata o documentata correttamente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
r
Ambito
data-visualization
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.