View source: R/calculate_hash.R
| calculate_hash | R Documentation |
Calls digest::digest() using the 'xxhash64' algorithm after applying hash_input to each object.
To customize the hashing behaviour, you can overwrite hash_input for specific classes.
For data.table objects, hash_input is applied to all columns, so you can overwrite hash_input for
columns of a specific class.
Objects that don't have a specific method are hashed as is.
calculate_hash(...)
... |
( |
(character(1)).
calculate_hash(iris, 1, "a")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.