use_build_ignore {packager}R Documentation

Add Files to ‘.Rbuildignore

Description

This is verbatim copy of git commit ⁠a5e5805ecd630ebc46e080bd78ebcf32322efe3c⁠ of usethis.
.Rbuildignore’ has a regular expression on each line, but it's usually easier to work with specific file names. By default, will (crudely) turn filenames into regular expressions that will only match these paths. Repeated entries will be silently removed.

Usage

use_build_ignore(files, escape = TRUE, pkg = ".")

Arguments

files

Paths of files.

escape

If TRUE, the default, will escape . to \. and surround with ^ and $.

pkg

Path to the package directory (see as.package).

Value

Nothing, called for its side effect.


[Package packager version 1.15.2 Index]