Creates a package DESCRIPTION
file
by extracting information
from an external yml
input_file
.
See system.file("extdata", "DESCRIPTION.yml", package = "jeksterslabRpkg", mustWork = TRUE)
for the input_file
template.
pkg_description( pkg_dir = getwd(), input_file = NULL, add = NULL, msg = "DESCRIPTION file path:" )
pkg_dir | Character string. Directory where the package is initialized. |
---|---|
input_file | Character string.
|
add | Character string.
Additional entries to the |
msg | Character string. Prints optional message and output directory. |
Note that if pkg_create()
is used,
this function will be called.
THIS FUNCTION OVERWRITES AN EXISTING DESCRIPTION
FILE
IN THE SPECIFIED PACKAGE ROOT DIRECTORY.
USE WITH CAUTION.
Ivan Jacob Agaloos Pesigan