R/utils_data.R

Defines functions hash_rows

hash_rows <- function(data) {
  out <- map_rows(
    data,
    ~digest::digest(.x, algo = "xxhash32")
  )
  make.unique(out, sep = "_")
}

Try the tarchetypes package in your browser

Any scripts or data that you put into this service are public.

tarchetypes documentation built on Oct. 4, 2023, 5:08 p.m.