Creates a boilerplate package README.Rmd
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_readme(pkg_root, input_file = NULL, msg = "README.Rmd file path:")
pkg_root | Character string. Package root directory. |
---|---|
input_file | Character string.
|
msg | Character string.
Optional message.
If supplied,
prints |
Note that if pkg_create()
is used,
this function will be called.
THIS FUNCTION OVERWRITES AN EXISTING README.Rmd
FILE
IN THE SPECIFIED PACKAGE ROOT DIRECTORY.
USE WITH CAUTION.
Ivan Jacob Agaloos Pesigan
if (FALSE) { pkg_readme( pkg_root = "~/boilerplatePackage", input_file = "DESCRIPTION.yml" ) }