This function finds files stored in a directory according to a naming pattern
Usage
find_files(.path, .ext = ".csv")
Arguments
- .path
directory tree
- .ext
file extension
Examples
here::here("R") |>
dtools::find_files(".R")
#> $add.R
#> [1] "/home/runner/work/dtools/dtools/R/add.R"
#>
#> $check.R
#> [1] "/home/runner/work/dtools/dtools/R/check.R"
#>
#> $clean.R
#> [1] "/home/runner/work/dtools/dtools/R/clean.R"
#>
#> $collapse.R
#> [1] "/home/runner/work/dtools/dtools/R/collapse.R"
#>
#> $date.R
#> [1] "/home/runner/work/dtools/dtools/R/date.R"
#>
#> $download.R
#> [1] "/home/runner/work/dtools/dtools/R/download.R"
#>
#> $`dtools-package.R`
#> [1] "/home/runner/work/dtools/dtools/R/dtools-package.R"
#>
#> $extract.R
#> [1] "/home/runner/work/dtools/dtools/R/extract.R"
#>
#> $fill.R
#> [1] "/home/runner/work/dtools/dtools/R/fill.R"
#>
#> $find.R
#> [1] "/home/runner/work/dtools/dtools/R/find.R"
#>
#> $format.R
#> [1] "/home/runner/work/dtools/dtools/R/format.R"
#>
#> $get.R
#> [1] "/home/runner/work/dtools/dtools/R/get.R"
#>
#> $is.R
#> [1] "/home/runner/work/dtools/dtools/R/is.R"
#>
#> $list.R
#> [1] "/home/runner/work/dtools/dtools/R/list.R"
#>
#> $make.R
#> [1] "/home/runner/work/dtools/dtools/R/make.R"
#>
#> $match.R
#> [1] "/home/runner/work/dtools/dtools/R/match.R"
#>
#> $read.R
#> [1] "/home/runner/work/dtools/dtools/R/read.R"
#>
#> $rename.R
#> [1] "/home/runner/work/dtools/dtools/R/rename.R"
#>
#> $render.R
#> [1] "/home/runner/work/dtools/dtools/R/render.R"
#>
#> $split_group.R
#> [1] "/home/runner/work/dtools/dtools/R/split_group.R"
#>
#> $unite.R
#> [1] "/home/runner/work/dtools/dtools/R/unite.R"
#>
#> $update.R
#> [1] "/home/runner/work/dtools/dtools/R/update.R"
#>
#> $zzz.R
#> [1] "/home/runner/work/dtools/dtools/R/zzz.R"
#>