Skip to contents

Find files based upon regular expression searching IMPORTANT - a Directory is NOT a file. (for most instances of file systems)

Usage

find_files(
  file_regx = ".R",
  path = ".",
  recursive = TRUE,
  exclude_files = NULL,
  exclude_dirs = NULL
)

Arguments

file_regx

= ".*" - a regular expression for files to source

path

= "." - a path to search

recursive

= TRUE - recurse into subdirectories

exclude_files

= NULL - regx for files to exclude

exclude_dirs

= NULL - regx for directories to exclude

Value

list of files

Examples