Creates a boilerplate package NAMESPACE
.
pkg_namespace(pkg_root, add = NULL, msg = "NAMESPACE file path:")
pkg_root | Character string. Package root directory. |
---|---|
add | Character string.
Entries to the |
msg | Character string.
Optional message.
If supplied,
prints |
Note that if pkg_create()
is used,
this function will be called.
If you are going to document, check, and build your package using devtools
,
you may delete the boilerplate NAMESPACE
file.
THIS FUNCTION OVERWRITES AN EXISTING NAMESPACE
FILE
IN THE SPECIFIED PACKAGE ROOT DIRECTORY.
USE WITH CAUTION.
Ivan Jacob Agaloos Pesigan
if (FALSE) { pkg_namespace( pkg_root = "~/boilerplatePackage" ) }