SearchFiles.select: Search Files Select

Description Usage Arguments Value

View source: R/SearchFiles.R

Description

Find filenames that match some regular expressions and not others

Usage

1
2
3
4
5
6
7
8
SearchFiles.select(
  files,
  includeAll = NA_character_,
  includeAny = NA_character_,
  remove = NA_character_,
  spaceReplaceAny = NA_character_,
  andReplaceAny = NA_character_
)

Arguments

files

A character vector with filenames

includeAll

A character vector containing regular expressions

includeAny

A character vector containing regular expressions

remove

A character vector containing regular expressions

spaceReplaceAny

A character vector containing character strings to use instead of spaces

andReplaceAny

A character vector containing character strings to use instead of the string "and"

Value

A character vector that is a subset of files. Each element will match all elements of includeAll and at least one element of includeAny. No elements of the output will match any elements of remove.


debarros/dbTools documentation built on Sept. 18, 2020, 10:51 a.m.