Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation impossible #54

Closed
Cdk29 opened this issue May 5, 2022 · 1 comment
Closed

Installation impossible #54

Cdk29 opened this issue May 5, 2022 · 1 comment

Comments

@Cdk29
Copy link

Cdk29 commented May 5, 2022

Hi,

Trying to run

install.packages("treemap")

Results in :

Installing package into ‘/home/Etienne.Rolland/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
essai de l'URL 'https://cloud.r-project.org/src/contrib/treemap_2.4-3.tar.gz'
Content type 'application/x-gzip' length 133837 bytes (130 KB)
==================================================
downloaded 130 KB

* installing *source* package ‘treemap’ ...
** package ‘treemap’ correctement décompressé et sommes MD5 vérifiées
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Error in readRDS(nsInfoFilePath) : erreur de lecture de la connexion
Calls: <Anonymous> ... loadNamespace -> namespaceImport -> loadNamespace -> readRDS
Exécution arrêtée
ERROR: lazy loading failed for package ‘treemap’
* removing ‘/home/Etienne.Rolland/R/x86_64-pc-linux-gnu-library/3.6/treemap’
Warning in install.packages :
  installation of package ‘treemap’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpSG9ax4/downloaded_packages’

I did some trace() to try to understand the error, but I did not find something meaningfull or related to only one broke dependencie.
Running :

devtools::install_github("treemap", username="mtennekes", subdir="pkg")

Results in :

Error in parse_repo_spec(repo) : 
  Invalid git repo specification: 'treemap'

I think, but I am unsure, that there is something broken with the installation process.

I am on R 3.6. Did not tried yet to reproduce on an other computer.

OS : [Ubuntu 20.04.4 LTS (Focal Fossa)]

@Cdk29
Copy link
Author

Cdk29 commented May 5, 2022

Of course, 5 minutes after I ended up finding the solution here :

https://community.rstudio.com/t/package-installation-failed/36278

The data.table dependencies was the trouble making dependency.

Closing the issue.
Cheers.

@Cdk29 Cdk29 closed this as completed May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant