{
  "_id": "6a17adb1acfb0bcc41d9a94b",
  "Package": "tidyaudit",
  "Title": "Pipeline Audit Trails and Data Diagnostics for 'tidyverse'\nWorkflows",
  "Version": "0.2.1",
  "Authors@R": "person(\"Fernando\", \"Cordeiro\", , \"fernandolpcordeiro@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Provides pipeline audit trails and data diagnostics for\n'tidyverse' workflows. The audit trail system captures\nlightweight metadata snapshots at each step of a pipeline,\nbuilding a structured record without storing the data itself.\nOperation-aware taps enrich snapshots with join match rates and\nfilter drop statistics. Trails can be serialized to 'JSON' or\n'RDS' and exported as self-contained 'HTML' visualizations.\nAlso includes diagnostic functions for interactive data\nanalysis including frequency tables, string quality auditing,\nand data comparison.",
  "License": "LGPL (>= 3)",
  "URL": "https://fpcordeiro.github.io/tidyaudit/,\nhttps://github.com/fpcordeiro/tidyaudit",
  "BugReports": "https://github.com/fpcordeiro/tidyaudit/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://fpcordeiro.r-universe.dev",
  "Date/Publication": "2026-05-28 01:00:00 UTC",
  "RemoteUrl": "https://github.com/fpcordeiro/tidyaudit",
  "RemoteRef": "HEAD",
  "RemoteSha": "550f0aea4bdcef139502bc8bb0575dc231bd116c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 02:48:26 UTC",
    "User": "root"
  },
  "Author": "Fernando Cordeiro [aut, cre, cph]",
  "Maintainer": "Fernando Cordeiro <fernandolpcordeiro@gmail.com>",
  "MD5sum": "5be3771a2aa8f3fe68c2aff4fd3c4c0a",
  "_user": "fpcordeiro",
  "_type": "src",
  "_file": "tidyaudit_0.2.1.tar.gz",
  "_fileid": "f603bf7f910e95e2e15cabdef49e4f0fe9dcbdcd01e3ea31c4a595e5525ae47c",
  "_filesize": 3482610,
  "_sha256": "f603bf7f910e95e2e15cabdef49e4f0fe9dcbdcd01e3ea31c4a595e5525ae47c",
  "_created": "2026-05-28T02:48:26.000Z",
  "_published": "2026-05-28T02:51:29.368Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78214564845,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7256672458"
    },
    {
      "job": 78214564854,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7256670861"
    },
    {
      "job": 78214564833,
      "time": 101,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7256664094"
    },
    {
      "job": 78214564840,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7256660956"
    },
    {
      "job": 78214296559,
      "time": 172,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7256646500"
    },
    {
      "job": 78214564826,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7256665358"
    },
    {
      "job": 78214564873,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7256664283"
    },
    {
      "job": 78214564859,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7256664195"
    },
    {
      "job": 78214564858,
      "time": 100,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7256663887"
    }
  ],
  "_buildurl": "https://github.com/r-universe/fpcordeiro/actions/runs/26551467907",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/fpcordeiro/tidyaudit",
  "_commit": {
    "id": "550f0aea4bdcef139502bc8bb0575dc231bd116c",
    "author": "fpcordeiro <fernandolpcordeiro@gmail.com>",
    "committer": "fpcordeiro <fernandolpcordeiro@gmail.com>",
    "message": "feat(compare_tables): validate key types and surface primary-key status\n\nKey handling was lenient: a user could pass `key_cols` whose class\ndiffered between x and y (silently coerced by dplyr or failing\ncryptically), and non-unique keys produced cartesian expansion behind\na single print-time warning with no structured signal.\n\n- Abort when user-supplied `key_cols` have different classes in x and y,\n  listing the column and both classes.\n- Compute primary-key status for the chosen keys (auto or explicit) and\n  expose `is_pk_x`, `is_pk_y`, `n_dup_combos_x`, `n_dup_combos_y`,\n  `has_na_keys_x`, `has_na_keys_y` in `key_summary`.\n- New `on_non_unique = c(\"warn\", \"stop\")` parameter. Default `\"warn\"`\n  preserves current behaviour but with a richer message naming the\n  offending table and duplicate-combo count; `\"stop\"` aborts.\n- `print.compare_tbl()` shows PK status per table in section 3.\n- Drop the now-redundant cartesian warning previously inside the merge\n  branch (the new check covers it earlier and unconditionally).\n- Internal refactor: extract `.compute_num_diffs()`, `.compute_cat_diffs()`,\n  `.row_disc_flags()` so the row-index and keys branches share diff\n  computation via `get_v1` / `get_v2` / `key_fn` closures.\n",
    "time": 1779930000
  },
  "_maintainer": {
    "name": "Fernando Cordeiro",
    "email": "fernandolpcordeiro@gmail.com",
    "login": "fpcordeiro",
    "description": "Economics PhD",
    "uuid": 9939519
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "stringi",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "fpcordeiro",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-07",
      "n": 6
    },
    {
      "week": "2026-08",
      "n": 20
    },
    {
      "week": "2026-10",
      "n": 7
    },
    {
      "week": "2026-11",
      "n": 6
    },
    {
      "week": "2026-12",
      "n": 15
    },
    {
      "week": "2026-13",
      "n": 7
    },
    {
      "week": "2026-19",
      "n": 5
    },
    {
      "week": "2026-22",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-02-22"
    },
    {
      "name": "v0.2.0",
      "date": "2026-03-24"
    },
    {
      "name": "v0.2.1",
      "date": "2026-05-09"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "fpcordeiro",
      "count": 74,
      "uuid": 9939519
    }
  ],
  "_userbio": {
    "uuid": 9939519,
    "type": "user",
    "name": "Fernando Cordeiro",
    "description": "Economics PhD"
  },
  "_downloads": {
    "count": 362,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidyaudit"
  },
  "_devurl": "https://github.com/fpcordeiro/tidyaudit",
  "_pkgdown": "https://fpcordeiro.github.io/tidyaudit/",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tidyaudit.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/fpcordeiro/tidyaudit",
  "_realowner": "fpcordeiro",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-02-27"
    },
    {
      "version": "0.2.0",
      "date": "2026-03-24"
    },
    {
      "version": "0.2.1",
      "date": "2026-05-08"
    }
  ],
  "_exports": [
    "anti_join_tap",
    "audit_diff",
    "audit_export",
    "audit_report",
    "audit_tap",
    "audit_trail",
    "audit_transform",
    "compare_tables",
    "diagnose_nas",
    "diagnose_strings",
    "filter_drop",
    "filter_keep",
    "filter_out_tap",
    "filter_tap",
    "full_join_tap",
    "get_summary_table",
    "inner_join_tap",
    "left_join_tap",
    "read_trail",
    "right_join_tap",
    "semi_join_tap",
    "summarize_column",
    "tab",
    "tab_tap",
    "trail_to_df",
    "trail_to_list",
    "validate_join",
    "validate_primary_keys",
    "validate_var_relationship",
    "write_trail"
  ],
  "_help": [
    {
      "page": "audit_diff",
      "title": "Compare Two Audit Trail Snapshots",
      "concept": [
        "audit trail"
      ],
      "topics": [
        "audit_diff",
        "print.audit_diff"
      ]
    },
    {
      "page": "audit_export",
      "title": "Export an Audit Trail as a Self-Contained HTML File",
      "concept": [
        "audit export"
      ],
      "topics": [
        "audit_export"
      ]
    },
    {
      "page": "audit_report",
      "title": "Generate an Audit Report",
      "concept": [
        "audit trail"
      ],
      "topics": [
        "audit_report"
      ]
    },
    {
      "page": "audit_tap",
      "title": "Record a Pipeline Snapshot",
      "concept": [
        "audit trail"
      ],
      "topics": [
        "audit_tap"
      ]
    },
    {
      "page": "audit_transform",
      "title": "Audit a Vector Transformation",
      "concept": [
        "data quality"
      ],
      "topics": [
        "audit_transform",
        "print.audit_transform"
      ]
    },
    {
      "page": "compare_tables",
      "title": "Compare Two Tables",
      "concept": [
        "join validation"
      ],
      "topics": [
        "as.data.frame.compare_tbl",
        "compare_tables",
        "print.compare_tbl"
      ]
    },
    {
      "page": "diagnose_nas",
      "title": "Diagnose Missing Values",
      "concept": [
        "data quality"
      ],
      "topics": [
        "diagnose_nas",
        "print.diagnose_na"
      ]
    },
    {
      "page": "diagnose_strings",
      "title": "Diagnose String Column Quality",
      "concept": [
        "data quality"
      ],
      "topics": [
        "diagnose_strings",
        "print.diagnose_strings"
      ]
    },
    {
      "page": "filter_drop",
      "title": "Filter Data with Diagnostic Statistics (Drop)",
      "concept": [
        "filter diagnostics"
      ],
      "topics": [
        "filter_drop",
        "filter_drop.data.frame"
      ]
    },
    {
      "page": "filter_keep",
      "title": "Filter Data with Diagnostic Statistics (Keep)",
      "concept": [
        "filter diagnostics"
      ],
      "topics": [
        "filter_keep",
        "filter_keep.data.frame"
      ]
    },
    {
      "page": "filter_tap",
      "title": "Operation-Aware Filter Taps",
      "concept": [
        "operation taps"
      ],
      "topics": [
        "filter_out_tap",
        "filter_tap"
      ]
    },
    {
      "page": "get_summary_table",
      "title": "Generate Summary Table for a Data Frame",
      "concept": [
        "data quality"
      ],
      "topics": [
        "get_summary_table"
      ]
    },
    {
      "page": "join_tap",
      "title": "Operation-Aware Join Taps",
      "concept": [
        "operation taps"
      ],
      "topics": [
        "anti_join_tap",
        "full_join_tap",
        "inner_join_tap",
        "join_tap",
        "left_join_tap",
        "right_join_tap",
        "semi_join_tap"
      ]
    },
    {
      "page": "audit_trail",
      "title": "Create an Audit Trail",
      "concept": [
        "audit trail"
      ],
      "topics": [
        "audit_trail",
        "print.audit_snap",
        "print.audit_trail"
      ]
    },
    {
      "page": "read_trail",
      "title": "Read an Audit Trail from a File",
      "concept": [
        "audit export"
      ],
      "topics": [
        "read_trail"
      ]
    },
    {
      "page": "summarize_column",
      "title": "Summarize a Single Column",
      "concept": [
        "data quality"
      ],
      "topics": [
        "summarize_column"
      ]
    },
    {
      "page": "tab",
      "title": "Tabulate Variables",
      "concept": [
        "data quality"
      ],
      "topics": [
        "as.data.frame.tidyaudit_tab",
        "print.tidyaudit_tab",
        "tab"
      ]
    },
    {
      "page": "tab_tap",
      "title": "Record a Tabulation Snapshot in a Pipeline",
      "concept": [
        "audit trail"
      ],
      "topics": [
        "tab_tap"
      ]
    },
    {
      "page": "trail_to_df",
      "title": "Convert an Audit Trail to a Data Frame",
      "concept": [
        "audit export"
      ],
      "topics": [
        "trail_to_df"
      ]
    },
    {
      "page": "trail_to_list",
      "title": "Convert an Audit Trail to a Plain List",
      "concept": [
        "audit export"
      ],
      "topics": [
        "trail_to_list"
      ]
    },
    {
      "page": "validate_join",
      "title": "Validate Join Operations Between Two Tables",
      "concept": [
        "join validation"
      ],
      "topics": [
        "print.validate_join",
        "summary.validate_join",
        "validate_join"
      ]
    },
    {
      "page": "validate_primary_keys",
      "title": "Validate Primary Keys",
      "concept": [
        "join validation"
      ],
      "topics": [
        "print.validate_pk",
        "validate_primary_keys"
      ]
    },
    {
      "page": "validate_var_relationship",
      "title": "Validate Variable Relationship",
      "concept": [
        "join validation"
      ],
      "topics": [
        "print.validate_var_rel",
        "validate_var_relationship"
      ]
    },
    {
      "page": "write_trail",
      "title": "Write an Audit Trail to a File",
      "concept": [
        "audit export"
      ],
      "topics": [
        "write_trail"
      ]
    }
  ],
  "_readme": "https://github.com/fpcordeiro/tidyaudit/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "tidyaudit.Rmd",
      "filename": "tidyaudit.html",
      "title": "Audit Trail Walkthrough",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Tracking what happens in your pipeline",
        "Your first trail",
        "Operation-aware taps",
        "Join taps",
        "Filter taps",
        "Comparing snapshots",
        "Full audit report",
        "Domain-specific diagnostics",
        "Snapshot controls",
        "Tabulation in pipelines",
        "Standalone mode",
        "Exporting and sharing trails",
        "Converting to R objects",
        "Saving and loading trails",
        "HTML visualization"
      ],
      "created": "2026-02-14 19:38:17",
      "modified": "2026-03-24 11:18:57",
      "commits": 7
    },
    {
      "source": "diagnostics.Rmd",
      "filename": "diagnostics.html",
      "title": "Diagnostic Functions Guide",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Before you join",
        "Different key names",
        "Tracking the impact on a metric",
        "Are your keys unique?",
        "Beyond uniqueness: what's the relationship?",
        "What changed between versions?",
        "Filter with visibility",
        "filter_keep",
        "filter_drop",
        "Warning thresholds",
        "Diagnose data quality",
        "Missing values",
        "Column summaries",
        "Frequency tables",
        "One-way tables",
        "Sorting and cutoffs",
        "Two-way crosstabulations",
        "Weighted tabulation",
        "String quality",
        "Audit your transformations",
        "Character vectors",
        "Numeric vectors",
        "Date vectors",
        "Factor vectors",
        "Logical vectors"
      ],
      "created": "2026-02-14 19:38:17",
      "modified": "2026-03-24 11:18:57",
      "commits": 6
    }
  ],
  "_score": 4.903089986991944,
  "_indexed": true,
  "_nocasepkg": "tidyaudit",
  "_universes": [
    "fpcordeiro"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-28T02:50:36.000Z",
      "distro": "noble",
      "commit": "550f0aea4bdcef139502bc8bb0575dc231bd116c",
      "fileid": "25769e741b24044e4bafa67d79deda890846a9db93a03b72e7838e6def91c81d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fpcordeiro/actions/runs/26551467907"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-28T02:50:31.000Z",
      "distro": "noble",
      "commit": "550f0aea4bdcef139502bc8bb0575dc231bd116c",
      "fileid": "21599f56111c5117d6ce7a488be11e91dc11a4c083f3715c158f46ed07a8b2e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fpcordeiro/actions/runs/26551467907"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-28T02:50:04.000Z",
      "commit": "550f0aea4bdcef139502bc8bb0575dc231bd116c",
      "fileid": "8f9fd50328cd225606665fc868f6d2890a5ba608d5558d141b70260277894a06",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fpcordeiro/actions/runs/26551467907"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-28T02:49:47.000Z",
      "commit": "550f0aea4bdcef139502bc8bb0575dc231bd116c",
      "fileid": "6da02662483060aa55ad5506db76e0ce51cf9fba66b2e0a105836ea9ef07df83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fpcordeiro/actions/runs/26551467907"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-05-28T02:50:31.000Z",
      "commit": "550f0aea4bdcef139502bc8bb0575dc231bd116c",
      "fileid": "25bea08e29a1e7f7238126f7c5027f83ba1b323f1ccf696af35f9b3ff5d645a4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fpcordeiro/actions/runs/26551467907"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-28T02:49:41.000Z",
      "commit": "550f0aea4bdcef139502bc8bb0575dc231bd116c",
      "fileid": "3ac2c2c1abc4cc41692672a80fb6268f0c8013cbe00726a4f05f8fceb95269ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fpcordeiro/actions/runs/26551467907"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-28T02:49:36.000Z",
      "commit": "550f0aea4bdcef139502bc8bb0575dc231bd116c",
      "fileid": "e31800c7ead118b162bf587b80c64150e21f46cefbcc070726d6dd859b990d7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fpcordeiro/actions/runs/26551467907"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-28T02:49:38.000Z",
      "commit": "550f0aea4bdcef139502bc8bb0575dc231bd116c",
      "fileid": "a21d83cf60c4868d5983ad26bc59ab8cf0d36c5f713ce57350b7235eb5af856f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fpcordeiro/actions/runs/26551467907"
    }
  ]
}