Skip to content

dqcheckr 0.2.0

Latest

Choose a tag to compare

@mickmioduszewski mickmioduszewski released this 01 Jun 10:26
· 83 commits to main since this release

New features

  • New compare_snapshots() and list_snapshots() functions for drift analysis. Compares any two historical snapshots and optionally renders an HTML drift report with per-column statistical drift, schema changes, and trend charts.
  • New resolve_col_type() function: returns the effective type for a column, respecting per-column type overrides set in the column_types config key.
  • New QC-15 outlier detection check (check_outliers()). Configured via max_z_score and/or iqr_fence_multiplier; skipped silently when neither is set.
  • check_key_uniqueness() (QC-12) now supports composite keys: set key_columns to a character vector in the dataset YAML.
  • check_min_row_count() (QC-14) gains max_row_count and max_file_size_mb thresholds.
  • col_threshold() and table_threshold() added as internal helpers; column_rules per-column threshold overrides are now correctly stored in column_snapshots.threshold (G-01).

Behaviour changes

  • Reports migrated from rmarkdown to Quarto. render_report() uses quarto::quarto_render() and returns NULL with a warning when Quarto CLI is not installed.
  • compare_schema() (CP-02) split into three separate result objects: CP-02a (new columns), CP-02b (dropped columns), CP-02c (type changes).
  • run_timestamp now stored in ISO-8601 UTC format rather than local time.
  • snapshots table gains three new columns; existing 0.1.x databases are auto-migrated on first 0.2.0 run.
  • detect_files() uses filename as secondary sort for deterministic folder-mode ordering.
  • check_allowed_values(), compare_new_values(), and compare_dropped_values() cap observed at 20 values.
  • check_non_numeric() gains warn_non_numeric_rate config key for a separate WARN threshold.
  • compare_missing_rate() gains missing_rate_change_severity config key.
  • compare_column_order() gains column_order_severity config key.
  • Comparison summary in HTML report now lists all FAIL/WARN messages as a bullet list.

CRAN submission

This is the first CRAN submission. Submitted 2026-06-01.

Documentation