pkg_rbuildignore: Create a Boilerplate Package '.Rbuildignore' File

Description Usage Arguments Details Author(s) Examples

View source: R/pkg_rbuildignore.R

Description

Creates a boilerplate package .Rbuildignore file.

Usage

1
pkg_rbuildignore(pkg_root, add = NULL, msg = ".Rbuildignore file path:")

Arguments

pkg_root

Character string. Package root directory.

add

Character string. Entries to the .Rbuildignore in addition to the boilerplate example.

msg

Character string. Optional message. If supplied, prints msg dir/fn.

Details

Note that if pkg_create() is used, this function will be called.

If .Rbuildignore exists in the specified package root directory, it will NOT be overwritten. Additional entries in the add argument will be appended.

Author(s)

Ivan Jacob Agaloos Pesigan

Examples

1
2
3
4
5
6
## Not run: 
pkg_rbuildignore(
  pkg_root = "~/boilerplatePackage"
)

## End(Not run)

jeksterslabds/jeksterslabRpkg documentation built on Jan. 22, 2021, 11:43 p.m.