inst/scripts/run-promotion-audit.R

#!/usr/bin/env Rscript
args <- commandArgs(trailingOnly = TRUE)
if (length(args) < 2L) stop("Usage: run-promotion-audit.R <evidence.rds> <report.md>")
library(eyeprocess)
evidence <- readRDS(args[1L])
audit <- audit_model_promotion(evidence)
write_model_promotion_report(audit, args[2L])
print(audit)
if (any(audit$models$status != "promotable")) quit(status = 2L)

Try the eyeprocess package in your browser

Any scripts or data that you put into this service are public.

eyeprocess documentation built on Sept. 28, 2026, 5:08 p.m.