tar_store: Deprecated: current data store path

View source: R/tar_store.R

tar_storeR Documentation

Deprecated: current data store path

Description

Deprecated: identify the file path to the data store of the pipeline currently running.

Usage

tar_store()

Details

tar_store() was deprecated on 2022-10-11 (version 0.13.5.9000). Use tar_path_store() instead.

Value

Character, file path to the data store of the pipeline currently running. If called outside of the pipeline currently running, tar_store() returns tar_config_get("store").

See Also

Other utilities: tar_active(), tar_backoff(), tar_call(), tar_cancel(), tar_definition(), tar_envir(), tar_group(), tar_name(), tar_path_script_support(), tar_path_script(), tar_path_store(), tar_path_target(), tar_path(), tar_seed(), tar_source()

Examples

tar_path_store()
if (identical(Sys.getenv("TAR_EXAMPLES"), "true")) { # for CRAN
tar_dir({ # tar_dir() runs code from a temp dir for CRAN.
tar_script(tar_target(x, tar_path_store()), ask = FALSE)
store <- tempfile()
tar_make(store = store)
tar_read(x, store = store)
})
}

targets documentation built on Oct. 12, 2023, 5:07 p.m.