Print Directory Tree
print_directory_tree(
target,
root = "~",
child,
dir_only = FALSE,
collapse = NULL,
...
)
Characters, print-friendly directory tree.
target directory path, relative to root
root directory, default is '~'
child files in target; is missing, then list all files
whether to display directory children only
whether to concatenate results as one single string
pass to list.files
when list all files