Unlike .gitignore, the lines of an .Rbuildignore are (Perl-compatible) regular expressions rather than
globs, matched unanchored and case-insensitively against the path relative to the package root, as R CMD build does.
Invalid lines are dropped with a warning.
Unlike
.gitignore, the lines of an.Rbuildignoreare (Perl-compatible) regular expressions rather than globs, matched unanchored and case-insensitively against the path relative to the package root, asR CMD builddoes. Invalid lines are dropped with a warning.