New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

md5 checksums aren't identical across platforms? #230

Closed
achubaty opened this Issue Oct 22, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@achubaty
Contributor

achubaty commented Oct 22, 2015

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

This comment has been minimized.

Contributor

achubaty commented Nov 10, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment