View source: R/write-doc-audit.R
| write_doc_audit_total_n | R Documentation |
audit_total_n()write_doc_audit_total_n() creates a roxygen2 block section to
be inserted into the documentation of functions created with
function_map_total_n(). The section informs users about the ways in
which audit_seq() summarizes the results of the manufactured
*_map_total_n() function.
Copy the output from your console and paste it into the roxygen2 block of
your *_map_total_n() function. To preserve the bullet-point structure
when indenting roxygen2 comments with Ctrl+Shift+/, leave empty lines
between the pasted output and the rest of the block.
write_doc_audit_total_n(key_args, name_test)
key_args |
String vector with the names of the key columns that are
tested for consistency by the |
name_test |
String (length 1). Name of the consistency test which the
|
A string vector formatted by glue::glue().
The sister function write_doc_audit_seq() and, for context,
vignette("consistency-tests-in-depth").
# For GRIM and `grim_map_total_n()`:
write_doc_audit_total_n(key_args = c("x", "n"), name_test = "GRIM")
# For DEBIT and `debit_map_total_n()`:
write_doc_audit_total_n(key_args = c("x", "sd", "n"), name_test = "DEBIT")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.