R/hash.R
See the advanced storage tutorial at https://github.com/ropensci/drake/blob/master/vignettes/storage.Rmd for details.
long_hash(cache = drake::get_cache(verbose = verbose), verbose = drake::default_verbose())
cache | drake cache. See |
---|---|
verbose | logical or numeric, control printing to the console.
Use
|
A character vector naming a hash algorithm.
default_short_hash_algo()
,
default_long_hash_algo()
# NOT RUN { test_with_dir("Quarantine side effects.", { load_basic_example() # Get the code with drake_example("basic"). # Run the project and return the internal master configuration list. config <- make(my_plan) # Locate the storr cache. cache <- config$cache # Get the long hash algorithm of the cache. long_hash(cache) }) # }