Description Usage Arguments Details Author(s) Examples
View source: R/pkg_namespace.R
Creates a boilerplate package NAMESPACE
.
1 | 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
1 2 3 4 5 6 | ## Not run:
pkg_namespace(
pkg_root = "~/boilerplatePackage"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.