Currently, this only deals with drive_download,
and download.file.
downloadFile(archive, targetFile, neededFiles, destinationPath, quick, checksumFile, checkSums, url, needChecksums, overwrite = TRUE, purge = FALSE)
| archive | Optional character string giving the path of an archive
containing |
|---|---|
| targetFile | 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
|
| neededFiles | Character string giving the name of the file(s) to be extracted. |
| destinationPath | Character string of a directory in which to download
and save the file that comes from |
| quick | Logical. This is passed internally to |
| checksumFile | A character string indicating the absolute path to the |
| checkSums | A checksums file, e.g., created by Checksums(..., write = TRUE) |
| url | 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 |
| needChecksums | A numeric, with |
| overwrite | Logical. Should downloading and all the other actions occur even if they pass the checksums or the files are all there. |
| purge | Logical or Integer. |