get_summary_output {autoharp} | R Documentation |
Function to extract the summary content
Description
This function will look for the explanation for the checks being done. If there is an explanation, the function will return the summary in HTML format. If not it will return 'not found' in HTML format.
Usage
get_summary_output(
rmd_file,
summary_header = "# Summary Output",
dir = tempdir()
)
Arguments
rmd_file |
The path to the rmd file to search for the summary. |
summary_header |
The header to look for. |
dir |
A temporary directory to store the temporary Rmarkdown file before extracting the html content. The temp file will be deleted before the function exits. |
Value
The function is used as a helper function. Returns the HTML formatted string.
[Package autoharp version 0.0.10 Index]