Skip to content

tidyaudit

Pipeline Audit Trails and Data Diagnostics for 'tidyverse' Workflows

v0.2.1 · May 8, 2026 · LGPL (>= 3)

Description

Provides pipeline audit trails and data diagnostics for 'tidyverse' workflows. The audit trail system captures lightweight metadata snapshots at each step of a pipeline, building a structured record without storing the data itself. Operation-aware taps enrich snapshots with join match rates and filter drop statistics. Trails can be serialized to 'JSON' or 'RDS' and exported as self-contained 'HTML' visualizations. Also includes diagnostic functions for interactive data analysis including frequency tables, string quality auditing, and data comparison.

Downloads

CRAN

453

Last 30 days

9263rd

1.1K

Last 90 days

1.6K

Last year

Trend: +3.7% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

29

Last 90 days

40

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

5

Last 7 days

14

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running massageExamples to create ‘tidyaudit-Ex.R’ failed
Error in file(out, "wt") : cannot open the connection
Calls: <Anonymous> -> Rd2ex -> file
In addition: Warning message:
In file(out, "wt") :
  cannot open file '/tmp/RtmpQ91W1J/file1ce7a73cfbaf7c/write_trail.R': No space left on device
Execution halted
 NONE
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 3, 2026
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [33s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(tidyaudit)
  > 
  > test_check("tidyaudit")
  i filter_tap: amount > 300
  Dropped 3 of 10 rows (30.0%)
     before after
  
...[truncated]...
base::data.frame(...)
    9.           ├─base::as.data.frame(x[[i]], optional = TRUE)
   10.           └─base::as.data.frame.integer(x[[i]], optional = TRUE)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 1185 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

13,214

Files

78

Compiled share

0%

Has compiled src

No

Language breakdown

R 5,740 (43.4%)Tests 5,269 (39.9%)Docs 1,579 (11.9%)Vignettes 626 (4.7%)

API

Exported functions

30

Internal functions

75

Recent export changes

v0.2.0+7 audit_export, read_trail, tab +4 more
v0.1.0+23 anti_join_tap, audit_diff, audit_report +20 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.92

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

4.2%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

28.6%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

LGPL (>= 3)

License flags

not SPDX, not OSI

History

Versions

3

First release

2026-02-27

Latest release

2026-05-08

Avg cadence

35 days

Cold removal rate

Dep drift

1

LOC over versions

v0.1.0: 7,426 LOCv0.2.0: 13,183 LOCv0.2.1: 13,214 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies cli dplyr glue rlang tidyaudit

Version History

3 tracked
updated 0.2.1 ← 0.2.0 diff May 8, 2026
updated 0.2.0 ← 0.1.0 diff Mar 24, 2026
new 0.1.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Feb 27, 2026. Releases before tracking aren’t shown.