Failed to Download the Installation Package of the Dependency Software
This case is an example and is for reference only. The actual situation prevails.
Symptom
An error is reported during compilation. The error information is similar to the following:
Error in download.file(url, destfile,method, mode = "wb", failed download from 'http://mirrors.tuna.tsinghua.edu.cn/bioconductor//packaJes/3.15/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19 1.4.3.tar.gz'
Key Process and Cause Analysis
The installation package is too large. As a result, the download fails.
Conclusion and Solution
- Copy the download link and manually download the installation package.
wget http://mirrors.tuna.tsinghua.edu.cn/bioconductor//packages/3.15/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.3.tar.gz
- Install the dependency.
R CMD INSTALL BSgenome.Hsapiens.UCSC.hg19
Parent topic: Troubleshooting