Displaying 1 result from an estimated 1 matches for "1244924".
Did you mean:
1244624
2018 Jun 29
1
Bug in tools::md5sum - does not work when filepath contains tilde (ie home directory)
I've reproduced on ubuntu and winodws with R3.4.3
When the filepath contains a tilde, the result is NA. But if the file path
is expanded then the function works.
Example:
tools::md5sum("~/.Rprofile") returns NA
tools::md5sum(normalizePath("~/.Rprofile")) returns the proper md5
Perhaps this is expected behaviour because the documentation does say NA is
returned for