The purpose of this function is
to prepare the cache to be called from make().
drake only uses a single hash algorithm now,
so we no longer need this configuration step.
configure_cache(cache = drake::get_cache(verbose = verbose),
short_hash_algo = drake::default_short_hash_algo(cache = cache),
long_hash_algo = drake::default_long_hash_algo(cache = cache),
log_progress = FALSE, overwrite_hash_algos = FALSE, verbose = 1L,
jobs = 1, init_common_values = FALSE)Cache to configure
Short hash algorithm for drake.
The short algorithm must be among available_hash_algos(),
which is just the collection of algorithms available to the algo
argument in digest::digest().
See default_short_hash_algo() for more.
Long hash algorithm for drake.
The long algorithm must be among available_hash_algos(),
which is just the collection of algorithms available to the algo
argument in digest::digest().
See default_long_hash_algo() for more.
Deprecated logical.
Previously toggled whether to clear the recorded
build progress if this cache was used for previous calls to
make().
Logical, whether to try to overwrite the hash algorithms in the cache with any user-specified ones.
Integer, control printing to the console/terminal.
0: print nothing.
1: print targets, retries, and failures.
2: also show a spinner when preprocessing tasks are underway.
Number of jobs for parallel processing
Logical, whether to set the initial drake
version in the cache and other common values.
Not always a thread safe operation, so should only be TRUE
on the master process
A drake/storr cache.
Deprecated on 2018-12-12.