Skip to content
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
Closed

md5 checksums aren't identical across platforms? #230

achubaty opened this issue Oct 22, 2015 · 1 comment
Assignees
Milestone

Comments

@achubaty
Copy link
Contributor

@achubaty 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
Copy link
Contributor Author

@achubaty achubaty commented Nov 10, 2015

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

achubaty added a commit that referenced this issue Nov 20, 2015
achubaty added a commit that referenced this issue Dec 10, 2015
@achubaty achubaty mentioned this issue Dec 18, 2015
@achubaty achubaty closed this in 261bbfe Jan 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants