- x
tabular data: The dataset. Required for every method, so that
dimensions and column names are always recorded, even when hashing file
bytes.
- method
Character {"file", "object", "table"}: What to hash. "object"
hashes the serialized R object (cheap, R-only). "file" hashes the raw bytes
of source. "table" hashes the canonical Arrow IPC representation
(cross-language; requires the arrow package), and is the only method
under which one table held as a data.frame, a data.table, a tibble or a
matrix gives one hash.
- algorithm
Character {"sha256", "sha512", "sha384", "sha224",
"sha3-256", "sha3-512", "blake2b", "blake2s", "sha1", "md5"}: Hash
algorithm. "blake2b" and "blake2s" are the fast options; "sha1" and "md5"
are for interoperability with systems that record those.
- source
Optional Character: Path x was read from. Required when
method is "file".