Creates a boilerplate package .gitignore
file.
pkg_gitignore(pkg_root, add = NULL, docs = TRUE, msg = ".gitignore file path:")
pkg_root | Character string. Package root directory. |
---|---|
add | Character string.
Entries to the |
docs | Character string.
Ignore |
msg | Character string.
Optional message.
If supplied,
prints |
Note that if pkg_create()
is used,
this function will be called.
If .gitignore
exists in the specified package root directory,
it will NOT be overwritten.
Additional entries in the add
argument will be appended.
Ivan Jacob Agaloos Pesigan
if (FALSE) { pkg_gitignore( pkg_root = "~/boilerplatePackage" ) }