aud_report: Generate report of auditing results.

Description Usage Arguments Value Examples

View source: R/flaw_report.R

Description

Extracts relevant information from the assertr_errors attributes, after one or more audits (chk_*) have been done.

Usage

1
aud_report(.data)

Arguments

.data

Dataset after being 'audited'.

Value

Returns a data frame of all failed audits.

Examples

1
2
3
4
5
6
library(magrittr)
ds <- data.frame(a = rnorm(10), b = 1:10)
flaws <- ds %>%
chk_in_range(-1.1, 1.1, "a") %>%
chk_in_set(1:9, "b")
aud_report(flaws)

lwjohnst86/PROMISE.audit documentation built on May 6, 2019, 9:54 a.m.