glob {bracer} | R Documentation |
glob
is a wrapper around Sys.glob
that uses
expand_braces
to support both brace and wildcard
expansion on file paths.
glob(paths, ..., engine = getOption("bracer.engine", NULL))
paths |
character vector of patterns for relative or absolute filepaths. |
... |
Passed to |
engine |
If |
dir <- system.file("R", package="bracer")
path <- file.path(dir, "*.{R,r,S,s}")
glob(path, engine = "r")