nest_dir: Make a nested list out of a directory

Description Usage Arguments Value

View source: R/nest.R

Description

Note: there might be problems with document name length on windows. tools::file_ext() was the quickest check for directory I could think of, but there is probably something better (pattern "/$" or similar?)

Usage

1
nest_dir(path, value = bname)

Arguments

path

Base directory to start nesting from

value

function to assign a value for each node (default 'bname')

Value

nested list


nverno/dirs documentation built on May 24, 2019, 10:54 a.m.