create_package_docs | R Documentation |
This function is the entry point for creating validation docs with the new 7-document format for packages.
create_package_docs( product_name, version, language = c("R", "Go"), repo_url, specs, release_notes_file, auto_test_dir = NULL, man_test_dir = NULL, style_dir = NULL, output_dir = getwd(), write = TRUE, cleanup_rmd = TRUE )
product_name |
The product being validated. |
version |
The version number of the product. |
language |
Denotes the language the package was coded in. Either 'R' or 'Go'. Dictates boiler plate text in the generated validation docs. |
repo_url |
Character string denoting the url of repository. |
specs |
tibble of stories and requirements. See input_formats. |
release_notes_file |
file path to a formatted markdown doc of release notes.
This should contain two top-level headers for "Changes and New Features" and
"Bug Fixes". For packages, this can typically be extracted from the relevant
entry in the |
auto_test_dir |
Path to directory containing |
man_test_dir |
Path to directory containing |
style_dir |
Directory that has style references for the generated docx files. When generating each output file, Pandoc will be instructed to use the reference file from this directory that has the same base name (if it exists). |
output_dir |
Directory to write the output documents to. Defaults to working directory. |
write |
Whether to create the output docs. Setting this to |
cleanup_rmd |
Whether to delete the copied RMD's after the word documents are generated.
Defaults to |
In addition to creating the validation docs, a tibble that joins the
tests with specs
is returned invisibly.
create_metworx_docs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.