Learn R Programming

SpaDES (version 1.2.0)

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)
"downloadData"(module, path, quiet = FALSE)
"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.