full_path_chain {path.chain} | R 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
[Package path.chain version 0.2.0 Index]