Print contents of directories in a tree-like format
dir_tree(path = ".", recurse = TRUE, ...)A path to print the tree from
If TRUE recurse fully, if a positive number the number of levels
to recurse.
Arguments passed on to dir_ls
typeFile type(s) to return, one or more of "any", "file", "directory", "symlink", "FIFO", "socket", "character_device" or "block_device".
recursive(Deprecated) If TRUE recurse fully.
allIf TRUE hidden files are also returned.
failShould the call fail (the default) or warn if a file cannot be accessed.
globA wildcard aka globbing pattern (e.g. *.csv) passed on to grep() to filter paths.
regexpA regular expression (e.g. [.]csv$) passed on to grep() to filter paths.
invertIf TRUE return files which do not match