trim_nest: Keep only specific files in nested directories

Description Usage Arguments Value

View source: R/nest.R

Description

Searches through nested directory list and removes entries not containing specified files. If an entire branch of the nested list contains no specified files, it will be removed entirely.

Usage

1

Arguments

lst

nested list

files

values to keep in nested list

Value

nested list only containing files (and branches with those files)


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