[1] "Success downloading file : ./ENCFF001VDM.bed.gz"
[1] "Success downloading file : ./ENCFF002COC.bed.gz"
[1] "Files can be found at C:/Dev/Projects/ENCODExplorer"
whereas the files ahve clearly not been downloaded, and are in fact corrupt.
The behaviour of force might not need toc hange, but its reporting should at least clearly spell out what happened ("Files were not dowloaded because they already exists". Checking if the existing file's md5 matches the expected one would be a nice bonus.
Calling downloadEncode with force=FALSE will not check that an existign file has a matching md5sum, and still report success.
Example:
will yield:
whereas the files ahve clearly not been downloaded, and are in fact corrupt.
The behaviour of force might not need toc hange, but its reporting should at least clearly spell out what happened ("Files were not dowloaded because they already exists". Checking if the existing file's md5 matches the expected one would be a nice bonus.