get_files_of_type: Get vector of filepaths

View source: R/utility_functions.R

get_files_of_typeR Documentation

Get vector of filepaths

Description

Get filepaths of given type, possibly recursively

Usage

get_files_of_type(ftype = "*.txt", indir, depth = 1)

Arguments

ftype

Filetype glob, defaults to '*.Rmd'

indir

Directory to begin search in

depth

Recursion depth, defaults to 1 (ie inside subfolders)

Value

Vector of file paths

Examples

## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

kjhealy/zoomchattr documentation built on April 30, 2022, 12:16 a.m.