Creates a boilerplate package .Rbuildignore file.

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

Ivan Jacob Agaloos Pesigan

Examples

if (FALSE) { pkg_rbuildignore( pkg_root = "~/boilerplatePackage" ) }