add_to_buildignore: Add to Rbuildignore file

Description Usage Arguments Value See Also Examples

View source: R/add_to_buildignore.R

Description

This function adds files/folders to the .Rbuildignore file. If a .Rbuildignore is already present, files to be ignored while checking package are just added to this file. Otherwise a new file is created.

Usage

1

Arguments

x

a character vector

One or several files/directories names to be added to the .Rbuildignore. This argument is mandatory.

open

a logical value

If TRUE the .Rbuildignore file is opened in the editor. Default is FALSE.

quiet

a logical value

If TRUE messages are deleted. Default is FALSE.

Value

None

See Also

Other development functions: add_dependencies(), add_github_actions_check(), add_github_actions_codecov(), add_github_actions_pkgdown(), add_r_depend(), add_to_gitignore()

Examples

1
2
3
4
5
## Not run: 
add_to_buildignore(open = TRUE)
add_to_buildignore(".DS_Store")

## End(Not run)

rcompendium documentation built on March 24, 2021, 5:06 p.m.