add_to_buildignore: Add to the .Rbuildignore file

View source: R/add_to_buildignore.R

add_to_buildignoreR Documentation

Add to the .Rbuildignore file

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

add_to_buildignore(x, open = FALSE, quiet = FALSE)

Arguments

x

A character vector. One or several files/folders 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

No return value.

See Also

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

Examples

## Not run: 
add_to_buildignore(open = TRUE)
add_to_buildignore(".DS_Store")

## End(Not run)

FRBCesab/rcompendium documentation built on Nov. 15, 2024, 9:38 p.m.