.Rbuildignore
.Rbuildignore
has a regular expression on each line, but it's
usually easier to work with specific file names. By default, will (crudely)
turn a filename into a regular expression that will only match that
path. Repeated entries will be silently removed.add_build_ignore(pkg = ".", file, escape = TRUE)
as.package
for more informationTRUE
, the default, will escape .
to
\.
and surround with ^
and $
.