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 fails for old R (2.14.1) #579

Open
lejlot opened this issue Oct 8, 2015 · 2 comments
Open

Installation fails for old R (2.14.1) #579

lejlot opened this issue Oct 8, 2015 · 2 comments

Comments

@lejlot
Copy link
Contributor

lejlot commented Oct 8, 2015

R

R version 2.14.1 (2011-12-22)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

install.packages("gmum.r")
Installing package(s) into ‘/home/lejlot/R/x86_64-pc-linux-gnu-library/2.14’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning: dependencies ‘SparseM’, ‘httr’, ‘Rcpp’, ‘plyr’, ‘NMF’, ‘irlba’ are not available
also installing the dependencies ‘reshape2’, ‘scales’, ‘magrittr’, ‘ggplot2’, ‘igraph’, ‘RcppArmadillo’, ‘BH’

trying URL 'http://cran.univ-lyon1.fr/src/contrib/reshape2_1.4.1.tar.gz'
Content type 'application/x-gzip' length 34693 bytes (33 Kb)

opened URL

downloaded 33 Kb

trying URL 'http://cran.univ-lyon1.fr/src/contrib/scales_0.3.0.tar.gz'
Content type 'application/x-gzip' length 57030 bytes (55 Kb)

opened URL

downloaded 55 Kb

trying URL 'http://cran.univ-lyon1.fr/src/contrib/magrittr_1.5.tar.gz'
Content type 'application/x-gzip' length 200504 bytes (195 Kb)

opened URL

downloaded 195 Kb

trying URL 'http://cran.univ-lyon1.fr/src/contrib/ggplot2_1.0.1.tar.gz'
Content type 'application/x-gzip' length 2351203 bytes (2.2 Mb)

opened URL

downloaded 2.2 Mb

trying URL 'http://cran.univ-lyon1.fr/src/contrib/igraph_1.0.1.tar.gz'
Content type 'application/x-gzip' length 3328353 bytes (3.2 Mb)

opened URL

downloaded 3.2 Mb

trying URL 'http://cran.univ-lyon1.fr/src/contrib/RcppArmadillo_0.6.100.0.0.tar.gz'
Content type 'application/x-gzip' length 981341 bytes (958 Kb)

opened URL

downloaded 958 Kb

trying URL 'http://cran.univ-lyon1.fr/src/contrib/BH_1.58.0-1.tar.gz'
Content type 'application/x-gzip' length 8727864 bytes (8.3 Mb)

opened URL

downloaded 8.3 Mb

trying URL 'http://cran.univ-lyon1.fr/src/contrib/gmum.r_0.2.1.tar.gz'
Content type 'application/x-gzip' length 567611 bytes (554 Kb)

opened URL

downloaded 554 Kb

ERROR: dependencies ‘plyr’, ‘Rcpp’ are not available for package ‘reshape2’

  • removing ‘/home/lejlot/R/x86_64-pc-linux-gnu-library/2.14/reshape2’
    ERROR: dependencies ‘plyr’, ‘Rcpp’ are not available for package ‘scales’
  • removing ‘/home/lejlot/R/x86_64-pc-linux-gnu-library/2.14/scales’
  • installing source package ‘magrittr’ ...
    ** package ‘magrittr’ successfully unpacked and MD5 sums checked
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    ** help
    *** installing help indices
    ** building package indices ...
    ** testing if installed package can be loaded
  • DONE (magrittr)
    ERROR: dependency ‘Rcpp’ is not available for package ‘RcppArmadillo’
  • removing ‘/home/lejlot/R/x86_64-pc-linux-gnu-library/2.14/RcppArmadillo’
  • installing source package ‘BH’ ...
    ** package ‘BH’ successfully unpacked and MD5 sums checked
    ** inst
    ** help
    *** installing help indices
    ** building package indices ...
    ** testing if installed package can be loaded
  • DONE (BH)
    ERROR: dependencies ‘plyr’, ‘reshape2’, ‘scales’ are not available for package ‘ggplot2’
  • removing ‘/home/lejlot/R/x86_64-pc-linux-gnu-library/2.14/ggplot2’
    ERROR: dependencies ‘NMF’, ‘irlba’ are not available for package ‘igraph’
  • removing ‘/home/lejlot/R/x86_64-pc-linux-gnu-library/2.14/igraph’
    ERROR: dependencies ‘ggplot2’, ‘igraph’, ‘SparseM’, ‘httr’, ‘Rcpp’ are not available for package ‘gmum.r’
  • removing ‘/home/lejlot/R/x86_64-pc-linux-gnu-library/2.14/gmum.r’

The downloaded packages are in
‘/tmp/RtmpbLQc83/downloaded_packages’
Warning messages:
1: In install.packages("gmum.r") :
installation of package ‘reshape2’ had non-zero exit status
2: In install.packages("gmum.r") :
installation of package ‘scales’ had non-zero exit status
3: In install.packages("gmum.r") :
installation of package ‘RcppArmadillo’ had non-zero exit status
4: In install.packages("gmum.r") :
installation of package ‘ggplot2’ had non-zero exit status
5: In install.packages("gmum.r") :
installation of package ‘igraph’ had non-zero exit status
6: In install.packages("gmum.r") :
installation of package ‘gmum.r’ had non-zero exit status

@kudkudak kudkudak changed the title Installation fails Installation fails for old R (2.14.1) because of unsatisfied dependencies Oct 8, 2015
@kudkudak kudkudak changed the title Installation fails for old R (2.14.1) because of unsatisfied dependencies Installation fails for old R (2.14.1) Oct 8, 2015
@kudkudak
Copy link
Member

kudkudak commented Oct 8, 2015

Reason: unsatisfied dependencies, same problem for igraph and ggplot2

@kudkudak
Copy link
Member

kudkudak commented Oct 8, 2015

Solutions: just do what igraph and ggplot2 - fail, or add igrah and ggplot2 as suggested and appropriately check for that in code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants