Each frame is reduced to its canonical columns and an omitted one is empty.
rbind() accepts a stray column silently, so conforming here is what keeps a
malformed frame out of the result.
Arguments
- patterns, matches, coverage
Data frames with the columns
audit_package()documents, less the phase columns, orNULLfor none. Extra columns are dropped; the phases are resolved later, from context.- errors
Data frame with columns
step,file_context,ruleandmessage.
See also
analyze_segment(), whose methods return this.
Examples
# An analyzer that found nothing still returns all four frames.
str(new_findings(), max.level = 1)
#> List of 4
#> $ patterns:'data.frame': 0 obs. of 12 variables:
#> $ matches :'data.frame': 0 obs. of 7 variables:
#> $ coverage:'data.frame': 0 obs. of 9 variables:
#> $ errors :'data.frame': 0 obs. of 4 variables: