wget: Setting Download Method to “wget -c”

Provides function, wget_set(), to change the method (default to ‘wget -c’) using in download.file(). Using ‘wget -c’ allowing continued downloading, which is especially useful for slow internet connection and for downloading large files. User can run wget_unset() to restore previous setting.

What you need is to run the wget::wget_set() function. Then download.file(), install.packages() and BiocManager::install() will all support continue retrival.

:writing_hand: Authors

Guangchuang YU

School of Basic Medical Sciences, Southern Medical University

https://yulab-smu.top

:arrow_double_down: Installation

Get the released version from CRAN:

install.packages("wget")

Or the development version from github:

## install.packages("remotes")
# remotes::install_github("YuLab-SMU/wget")
install.packages("wget", repos = c('https://yulab-smu.r-universe.dev', 'https://cloud.r-project.org'))