calculate_hash: Calculate a Hash for Multiple Objects

View source: R/calculate_hash.R

calculate_hashR Documentation

Calculate a Hash for Multiple Objects

Description

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.

Usage

calculate_hash(...)

Arguments

...

(any)
Objects to hash.

Value

(character(1)).

Examples

calculate_hash(iris, 1, "a")

mlr-org/mlr3misc documentation built on April 28, 2024, 11 p.m.