as.list: Convert object of type 'path_chain' to list

as.listR Documentation

Convert object of type 'path_chain' to list

Description

Convert object of type 'path_chain' to list

Usage

## S3 method for class 'path_chain'
as.list(x, ..., root.name = "root.dir")

Arguments

x

a path_chain object

...

elipsis for API consistency, does nothing

root.name

key for root directory; default: 'root.dir'

Examples

tmp <- create_temp_dir("files")
create_sample_dir(tmp)
path.chain <- path_chain(tmp)
as.list(path.chain)

path.chain documentation built on Oct. 9, 2024, 1:07 a.m.