full_path_chain: Full path chain

View source: R/full-path-chain.R

full_path_chainR Documentation

Full path chain

Description

'full_path_chain' represents another approach to creating chainable paths In contrast to 'path_chain', this functon creates just a list with nested list with full paths as a leaves.

Usage

full_path_chain(path = ".", root.name = ".", naming = basename)

Arguments

path

root path

root.name

naming convention for root directory

naming

naming function

Value

list of lists and character objects

Examples

tmp <- create_temp_dir("files")
create_sample_dir(tmp, override = TRUE)
fs::dir_tree(tmp)
chainable.path <- full_path_chain(tmp)
chainable.path

krzjoa/path.chain documentation built on Oct. 9, 2024, 5:49 a.m.