PredictiveEcology / SpaDES

R package for developing and running Spatial Discrete Event Simulation models
https://spades.predictiveecology.org
Other
55 stars 21 forks source link

md5 checksums aren't identical across platforms? #230

Closed achubaty closed 8 years ago

achubaty commented 9 years ago

no errors on Windows, but OS X shows md5sum mismatch in checksums():

Warning message: In checksums(module, path, write = FALSE) : All file checksums do not match!

possibly due to line endings? *.zip files are the same, but *.tifaren't identical.

cd /path/to/linux/disk
wget ftp://ftp.daac.ornl.gov/data/nacp/NA_TreeAge//data/can_age04_1km.tif
md5sum can_age04_1km.tif
#> e1077eec493655568776da7d94d70285  can_age04_1km.tif

cd /path/to/shared/windows/disk
wget ftp://ftp.daac.ornl.gov/data/nacp/NA_TreeAge//data/can_age04_1km.tif
md5sum can_age04_1km.tif
#> 37e7d0d3e664b81ee82b435b526013dc  can_age04_1km.tif
achubaty commented 9 years ago

workaround is to store (and check) two checksums: one for each platform