devtools (version 1.5)

add_build_ignore: Add a file to .Rbuildignore

Description

.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.

Usage

add_build_ignore(pkg = ".", file, escape = TRUE)

Arguments

pkg
package description, can be path or package name. See as.package for more information
file
Name of file.
escape
If TRUE, the default, will escape . to \. and surround with ^ and $.

Value

  • Nothing, called for its side effect.