ls_script_dirs: recursively get all script dirs

Description Usage Arguments

View source: R/tidyproject.R

Description

recursively get all script dirs

Usage

1
2
3
4
5
6
ls_script_dirs(
  path = ".",
  dir_name = getOption("scripts.dir"),
  depth,
  maxdepth = 10
)

Arguments

path

character. Script dirs are in a subdirectory n levels below

dir_name

character (default = "Scripts"). name of scripts dirs

depth

integer. number of levels to search

maxdepth

integer. max number of levels to search


tsahota/tidyproject documentation built on April 19, 2021, 9:15 p.m.