Generate checksum from file

md5(file)

sha256(file)

Arguments

file

character(1). File path.

Note

Updated 2021-03-04.

Examples

file <- system.file("extdata/example.csv", package = "pipette") md5(file)
#> [1] "353f59b13802bfe02a0eafe571ef96be"
sha256(file)
#> [1] "cea10726844a7df48a173b80054195ec9b59084431c99511727c12dcbd510b10"