Description Usage Arguments Details Author(s) Examples
Creates a package LICENSE
and LICENSE.md
by extracting information
from an external yml
input_file
.
See system.file("extdata", "DESCRIPTION.yml", package = "jeksterslabRpkg", mustWork = TRUE)
for the input_file
template.
1 | pkg_license(pkg_root, input_file = NULL, msg = "LICENSE file path:")
|
pkg_root |
Character string. Package root directory. |
input_file |
Character string.
|
msg |
Character string. Prints optional message and output directory. |
Note that if pkg_create()
is used,
this function will be called.
THIS FUNCTION OVERWRITES EXISTING LICENSE
and LICENSE.md
FILES
IN THE SPECIFIED PACKAGE ROOT DIRECTORY.
USE WITH CAUTION.
Ivan Jacob Agaloos Pesigan
1 2 3 4 5 6 7 | ## Not run:
pkg_license(
pkg_root = "~/boilerplatePackage",
input_file = "DESCRIPTION.yml"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.