as.list {path.chain}R 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)

[Package path.chain version 0.2.0 Index]