我要评分
获取效率
正确性
完整性
易理解

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

  1. 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
  2. Install the dependency.
    R CMD INSTALL BSgenome.Hsapiens.UCSC.hg19