Function that hashes the values of the environment,
handling special cases such as functions and formulae.
Usage
hash_environment(environment)
Arguments
- environment
(environment or list)
The environment to hash.
Value
(list(character))
A list of hashes for the environment
Examples
hash_environment(list(DiseasyActivity))
#> [1] "064d8355de250e84f5240fd09202c0ec"
hash_environment(list(mtcars, iris))
#> [1] "d0487363db4e6cc64fdb740cb6617fc0" "34844aba7bde36f5a34f6d8e39803508"