downloadIfOld {Pmisc} | R Documentation |
Checks if a downloaded file is old and re-downloads is necessary
downloadIfOld( url, path = getwd(), file = file.path(path, make.names(basename(url))), age = "6 months", overwrite = FALSE, verbose = FALSE, ... )
url |
a string specifying the remote location |
path |
local directory to store downloaded files |
file |
local file name |
age |
maximum age of the local file |
overwrite |
replace existing unzipped files |
verbose |
print additional information |
... |
additional arguments for |
Checks if a downloaded file is old and re-downloads is necessary. Any zip files are unzipped.
A character string of files downloaded or unzipped.
## Not run: theFiles = Pmisc::downloadIfOld( 'https://cran.r-project.org/src/base/Historic/Windows/mva.zip' ) theFiles ## End(Not run)