powered by
Convert object of type `path_chain` to list
# S3 method for path_chain as.list(x, ..., root.name = "root.dir")
a path_chain object
elipsis for API consistency, does nothing
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)
Run the code above in your browser using DataLab