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.

downloadData(module, path, quiet, quickCheck = FALSE)

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

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

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

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

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.

quickCheck

Logical. If TRUE, then the check with local data will only use file.size instead of digest::digest. This is faster, but potentially much less robust.

Value

Invisibly, a list of downloaded files.