wguo-research / scCancer

A package for automated processing of single cell RNA-seq data in cancer
92 stars 39 forks source link

Errors about installation #17

Open Yiquan-Jiang opened 4 years ago

Yiquan-Jiang commented 4 years ago

Errors appeared as follows:

devtools::install_github("wguo-research/scCancer") WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools custom from https://cran.r-project.org/bin/windows/Rtools/. Downloading GitHub repo wguo-research/scCancer@master wguo-research-scCancer-a118040/inst/rds/cnvRef_Data-HM.RDS: truncated gzip input tar.exe: Error exit delayed from previous errors. 错误: Failed to install 'scCancer' from GitHub: Does not appear to be an R package (no DESCRIPTION) 此外: Warning messages: 1: In utils::untar(tarfile, ...) : ‘tar.exe -xf "C:\Users\Kong\AppData\Local\Temp\RtmpAnxRqc\file3e0477624f48.tar.gz" -C "C:/Users/Kong/AppData/Local/Temp/RtmpAnxRqc/remotes3e04df15961"’ returned error code 1 2: In system(cmd, intern = TRUE) : 运行命令'tar.exe -tf "C:\Users\Kong\AppData\Local\Temp\RtmpAnxRqc\file3e0477624f48.tar.gz"'的状态是1

How to solve this problem? Thanks for your help. Sincerely.

wellgoo commented 4 years ago

Please read the warning. You should install rtools. Please use R v3.5or3.6 & Rtools 3.5 in Windows. Rtools40 makes a change of its directory name of the compiler...

Also, please directly install the binary packages if necesary instead of compiling the latest version. The compiler has many unexpected errors in Windows. For example, "ps" package cannot be sucessfully compiled by Rtools, but it is required for "devtools".