rtfqc - Read Clinical RTF Outputs and Check Them Against QC Data
Reads RTF (Rich Text Format) tables, listings and figures
produced for clinical study reports (for example by 'SAS' ODS
RTF or 'r2rtf') directly, without 'Word', 'LibreOffice' or
'Pandoc'. Splits them into pages with titles, headers, table
body and footnotes, rebuilds the body table as a data frame,
and compares it cell by cell with an independently programmed
QC dataset, classifying each difference as a value difference,
truncation, rounding, number format or spacing. Also checks
"Page x of y" numbering, blank pages, and titles and footnotes
against a table of contents. Works on single files or whole
folders.