downloadIfNotFound: Download data if given file is not found

Description Usage Arguments Value

View source: R/utils.R

Description

Download data if given file is not found

Usage

1
downloadIfNotFound(link, file, ask = FALSE, toExtract = NULL)

Arguments

link

Character: link to download file

file

Character: filepath

ask

Boolean: ask to download file?

toExtract

Character: files to extract (if NULL, extract all)

Value

Download file if file is not found


cTRAP documentation built on Nov. 8, 2020, 10:58 p.m.