SpaDES (version 1.1.4)

downloadData: Download module data

Description

Download external data for a module if not already present in the module directory or if there is a checksum mismatch indicating that the file is not the correct one.

Usage

downloadData(module, path, quiet = FALSE)

## S3 method for class 'character,character,logical': downloadData(module, path, quiet = FALSE)

## S3 method for class 'character,character,missing': downloadData(module, path)

Arguments

module
Character string giving the name of the module.
path
Character string giving the path to the module directory.
quiet
Logical. This is passed to download.file. Default is FALSE.

Value

  • Invisibly, a list of downloaded files.