downloadIfNotFound {cTRAP} | R Documentation

## Download data if given file is not found

### Description

Download data if given file is not found

### Usage

    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

[Package cTRAP version 1.5.0 Index]