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))character vector of patterns for relative or absolute filepaths.
Passed to Sys.glob()
If 'r' use a pure R parser.
If 'v8' use the 'braces' Javascript parser via the suggested V8 package.
If NULL use 'v8' if 'V8' package detected else use 'r';
in either case send a message() about the choice
unless getOption(bracer.engine.inform') is FALSE.
dir <- system.file("R", package="bracer")
path <- file.path(dir, "*.{R,r,S,s}")
glob(path, engine = "r")
#> character(0)