Assembles the five result data frames and a metadata list into a validated
pkgaudit S3 object. audit_package() calls this at the end of a scan.
Arguments
- file_contexts, patterns, matches, coverage, errors
Data frames with the columns documented in
audit_package().- metadata
Named list with the fields documented in
audit_package(), each a length-one value of the expected type.