SpaDES (version 1.3.1)

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)

# S4 method for character,character,logical downloadData(module, path, quiet)

# S4 method for character,missing,missing downloadData(module)

# S4 method for character,missing,logical downloadData(module, quiet)

# S4 method for 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.