Learn R Programming

drake (version 5.0.0)

short_hash: Get the short hash algorithm of a drake cache.

Description

See the advanced storage tutorial at https://ropensci.github.io/drake/articles/storage.html for details.

Usage

short_hash(cache = drake::get_cache(verbose = verbose), verbose = verbose)

Arguments

cache

drake cache

verbose

whether to print console messages

Value

A character vector naming a hash algorithm.

See Also

default_short_hash_algo, default_long_hash_algo

Examples

Run this code
# 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 short hash algorithm of the cache.
short_hash(cache)
})
# }

Run the code above in your browser using DataLab