edmr icon indicating copy to clipboard operation
edmr copied to clipboard

"edmr" cannot be installed

Open jiangye201315 opened this issue 5 years ago • 1 comments

(1)I want to install the "edmr" package, and executed the following command, but returned some errors: > install_github("edmr", username = "ShengLi",build_vignettes=FALSE) Error in parse_repo_spec(repo) : Invalid git repo specification: 'edmr'

(2)So ,I found some similar problems on the web page and have executed these same commands as the following. Unfortunately, it was not installed successfully. >install_github("ShengLi/edmr", build_vignettes=FALSE) `Downloading GitHub repo ShengLi/edmr@master Skipping 3 packages not available: GenomicRanges, IRanges, S4Vectors WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools 3.5 from http://cran.r-project.org/bin/windows/Rtools/. √ checking for file 'C:\Users\tx\AppData\Local\Temp\RtmpIvvFc8\remotes3df47ec2859\ShengLi-edmr-98e454f/DESCRIPTION' ...

  • preparing 'edmr': √ checking DESCRIPTION meta-information ...
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
  • looking to see if a 'data/datalist' file should be added
  • building 'edmr_0.6.4.1.tar.gz'
  • installing source package 'edmr' ... ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called 'RCurl' ERROR: lazy loading failed for package 'edmr'
  • removing 'H:/R/R-3.5.2/library/edmr' In R CMD INSTALL Error in i.p(...) : (converted from warning) installation of package ‘C:/Users/tx/AppData/Local/Temp/RtmpIvvFc8/file3df4382c7b6d/edmr_0.6.4.1.tar.gz’ had non-zero exit status In addition: Warning messages: 1: In untar2(tarfile, files, list, exdir) : skipping pax global extended headers 2: In untar2(tarfile, files, list, exdir) : skipping pax global extended headers`

(3)Then, I also try to download this .zip file from the URL https://api.github.com/repos/ShengLi/edmr/zipball/master, and installed it locally. Yes, the installation still failed. As the following: Warning in install.packages : cannot open compressed file 'ShengLi-edmr-v0.6.2-59-g98e454f/DESCRIPTION', probable reason 'No such file or directory' Error in install.packages : cannot open the connection

What should I do? Thanks a lot for any help.

jiangye201315 avatar Mar 07 '19 08:03 jiangye201315

have you tried installing RCurl and reinstall edmr?

alexyfyf avatar Jul 24 '19 04:07 alexyfyf