as.list {path.chain} | R Documentation |
Convert object of type 'path_chain' to list
## S3 method for class 'path_chain'
as.list(x, ..., root.name = "root.dir")
x |
a path_chain object |
... |
elipsis for API consistency, does nothing |
root.name |
key for root directory; default: 'root.dir' |
tmp <- create_temp_dir("files")
create_sample_dir(tmp)
path.chain <- path_chain(tmp)
as.list(path.chain)