downloadFile(archive, targetFile, neededFiles, destinationPath, quick, checksumFile, checkSums, url, needChecksums, overwrite = TRUE, purge = FALSE)
Optional character string giving the path of an archive
Character string giving the path to the eventual file
(raster, shapefile, csv, etc.) after downloading and extracting from a zip
or tar archive. This is the file before it is passed to
Character string giving the name of the file(s) to be extracted.
Character string of a directory in which to download
and save the file that comes from
Logical. This is passed internally to
A character string indicating the absolute path to the
A checksums file, e.g., created by Checksums(..., write = TRUE)
Optional character string indicating the URL to download from.
Normally, if used within a module, this url should be explicitly given as
sourceURL for an
A numeric, with
Logical. Should downloading and all the other actions occur even if they pass the checksums or the files are all there.
Logical or Integer.