Problema al descargar mxmaps

153 views
Skip to first unread message

martinve...@gmail.com

unread,
Mar 31, 2020, 2:52:58 PM3/31/20
to mxmaps
Hola Sr. Valle,

He estado teniendo un problema al descargar su paquete. Al intentar instalarlo de github a RStudio con devtools. Me sale este mensaje de error en la consola:

* installing *source* package 'mxmaps' ...
** using staged installation
Error in file(file, if (append) "a" else "w") : 
  (convertido del aviso) cannot open file '[carpeta]/00LOCK-mxmaps/00new/mxmaps/DESCRIPTION': No such file or directory
ERROR: installing package DESCRIPTION failed for package 'mxmaps'
* removing '[carpeta]/mxmaps'
Error: Failed to install 'mxmaps' from GitHub:
  (convertido del aviso) installation of package ‘[usuario]/AppData/Local/Temp/Rtmp2THLiS/file14b811e84c62/mxmaps_0.6.0.tar.gz’ had non-zero exit status

Le agradezco su atención. 

[ENGLISH]

Hi Mr. Valle,

I have had a bit of a problem downloading your package from Github to RStudio with devtools. I get this error message on the console:

* installing *source* package 'mxmaps' ...
** using staged installation
Error in file(file, if (append) "a" else "w") : 
  (convertido del aviso) cannot open file 'C:/Users/Martmn/Documents/R/win-library/3.6/00LOCK-mxmaps/00new/mxmaps/DESCRIPTION': No such file or directory
ERROR: installing package DESCRIPTION failed for package 'mxmaps'
* removing 'C:/Users/Martín/Documents/R/win-library/3.6/mxmaps'
Error: Failed to install 'mxmaps' from GitHub:
  (convertido del aviso) installation of package ‘C:/Users/MARTN~1/AppData/Local/Temp/Rtmp2THLiS/file14b811e84c62/mxmaps_0.6.0.tar.gz’ had non-zero exit status

Thank you very much for your attention.

Diego Valle-Jones

unread,
Mar 31, 2020, 3:47:06 PM3/31/20
to mxmaps
Hola, ¿qué comando estás usando para instalar mxmaps?

martinve...@gmail.com

unread,
Mar 31, 2020, 3:56:33 PM3/31/20
to mxmaps
Estoy usando este:

devtools::install_github("diegovalle/mxmaps")

Diego Valle-Jones

unread,
Mar 31, 2020, 7:24:44 PM3/31/20
to mxmaps
Creo que el problema es que tu nombre de usuario tiene un acento en la "í". Puedes intentar instalar el paquete a otro directorio (a la mejor necesitas ser administrador)


.libPaths("C:/Program Files/R/R-3.6/library") #Cambiar al directorio de R en tu sistema
devtools::install_github("diegovalle/mxmaps")

martinve...@gmail.com

unread,
Apr 1, 2020, 5:06:48 AM4/1/20
to mxmaps
Ya estuvo, muchas gracias.

Adrian Soto

unread,
Jan 24, 2024, 12:18:29 PM1/24/24
to mxmaps
Hola, estoy teniendo este problema para descargar el paquete. De antemano gracias.
> .libPaths("C:/Users/adria/Dropbox/UIEM/LEAD/Proyectos") > devtools::install_github('diegovalle/mxmaps') Using github PAT from envvar GITHUB_PAT Error: Failed to install 'unknown package' from GitHub: HTTP error 401. Bad credentials Rate limit remaining: 50/60 Rate limit reset at: 2024-01-24 18:04:04 UTC

On Wednesday 1 April 2020 at 03:06:48 UTC-6 martinve...@gmail.com wrote:
Ya estuvo, muchas gracias.

Diego Valle-Jones

unread,
Jan 24, 2024, 1:11:40 PM1/24/24
to mxmaps
Hola, este error está sucediendo porque hay que definir una variable que se llama GITHUB_PAT para que github te otorgue permisos para descargar el paquete. Para generar el token puedes visitar https://github.com/settings/tokens  y para definir la variable con su valor puedes ejecutar  Sys.setenv(GITHUB_PAT = "valor PAT")

Diana Jiménez

unread,
Jan 31, 2025, 11:39:43 AM1/31/25
to mxmaps
Hola estoy intentando la descarga tras actualizar RStudio y R a versiones 4.4.2 "Pile of Leaves" y me arroja este error.

Error in utils::download.file(url, path, method = method, quiet = quiet, : no fue posible abrir la URL 'https://api.github.com/repos/diegovalle/mxmaps/tarball/HEAD'

diego...@gmail.com

unread,
Jan 31, 2025, 3:36:22 PM1/31/25
to mxmaps
Hola Diana, puedes intentar descargar mxmaps como zip de https://github.com/diegovalle/mxmaps/archive/refs/heads/master.zip y luego instalarlo con devtools::install_local
Reply all
Reply to author
Forward
0 new messages