Signals an error (causing a non-zero exit status in CI pipelines) when the audit report fails to meet the requested gate level.
Usage
statci_check_gate(report, fail_on = c("fail", "warn"))Value
Invisibly returns TRUE when the gate passes; otherwise aborts with
an informative error message.
Examples
rep <- statci_report(lint = stat_lint_text("set.seed(1)\nx <- rnorm(5)\n"))
statci_check_gate(rep)
