On Fri, Apr 10, 2020 at 8:49 AM Martin Maechler
<maech...@stat.math.ethz.ch> wrote:
[...]
>
>     >   openssl::md5(file("R-devel-win.exe"))
>
> or use base R's    tools::md5sum(<local-file-name>)
>
> md5sum() has existed forever, but needs you to do the
> download.file() step  which is indirectly happening in
> openssl::md5() also.

Don't use tools::md5sum() in portable code, though, at least not just
yet, because it is broken on non-ASCII filenames on Windows. (Fixed in
R-devel.)

Gabor

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to