stash_cache: Save the cache to a zip file, then to...

View source: R/storing.R

stash_cacheR Documentation

Save the cache to a zip file, then to pipeline_caches_folder

Description

Saves a pipeline cache to a zip file into the pipeline_caches_folder.

Usage

stash_cache(pipeline_caches_folder, cache_folder, file_prefix, dependency)

Arguments

pipeline_caches_folder

The folder into which the pipeline cache will be saved as a .zip file.

cache_folder

The cache folder that is to be zipped and saved. This path is interpreted relative to the working directory.

file_prefix

The prefix for the output file name.

dependency

The last target that should be executed before saving the cache. Not used internally.

Details

Note that the dependency argument is not used internally. Rather, dependency exists to ensure that the pipeline executes the right targets before saving the cache.

Value

A logical saying whether the saving operation was successful.


MatthewHeun/SEAPSUTWorkflow documentation built on April 22, 2022, 2:21 p.m.