get_summary_output {autoharp} | R Documentation |
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.
get_summary_output(
rmd_file,
summary_header = "# Summary Output",
dir = tempdir()
)
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. |
The function is used as a helper function. Returns the HTML formatted string.