download_single_file: download_single_file Downloads a single file and checks if...

Description Usage Arguments Value

View source: R/download.R

Description

download_single_file Downloads a single file and checks if md5 checksums match.

Usage

1
2
3
4
5
6
7
download_single_file(
  file_url,
  file_md5,
  dir = ".",
  experiment_name = NULL,
  force = TRUE
)

Arguments

file_url

A character giving the URL of the file to be downloaded.

file_md5

A character giving the expected md5 checksum hash of the file to be downloaded.

dir

The directory where the downloaded file should be saved. Default: "."

experiment_name

An optional experiment name to be displayed with the status reports.

force

boolean indicating if existing files should be downloaded again. Default : TRUE

Value

A character with the name of the downloaded file.


ENCODExplorer documentation built on Nov. 8, 2020, 5:11 p.m.