R Under development (unstable) (2026-01-24 r89326 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(keyed) > > test_check("keyed") v Snapshot committed: 7c7a5a0f... -- Key Status Key: id v Key is valid and unique Rows: 3, Columns: 2 -- Key Status Key: id ! Key has 1 duplicate(s) Rows: 3, Columns: 2 -- Key Status No key defined Rows: 3, Columns: 2 -- Structure Comparison i Rows: 3 -> 5 (+2) i Columns added: y -- Key Comparison Comparing on: id x: 3 unique keys y: 3 unique keys Common: 2 (66.7% of x) Only in x: 1 Only in y: 1 Keys only in x: # A keyed tibble: 1 x 1 # Key: id id 1 1 Keys only in y: # A keyed tibble: 1 x 1 # Key: id id 1 4 -- Join Diagnosis Cardinality: one-to-one x: 3 rows, unique y: 3 rows, unique -- Join Diagnosis Cardinality: many-to-one x: 3 rows, 1 duplicates y: 3 rows, unique -- Join Diagnosis Cardinality: many-to-many x: 2 rows, 1 duplicates y: 2 rows, 1 duplicates ! Many-to-many join may produce up to 4 rows -- Keyed Data Frame Summary Dimensions: 3 rows x 2 columns Key columns: id v Key is unique Row IDs: none -- Keyed Data Frame Summary Dimensions: 3 rows x 2 columns Key columns: id v Key is unique ! 1 row(s) with NA in key Row IDs: none -- Keyed Data Frame Summary Dimensions: 3 rows x 2 columns Key columns: id ! 1 duplicate key value(s) Row IDs: none -- Keyed Data Frame Summary Dimensions: 3 rows x 1 columns Key columns: id x Key column(s) missing: id Row IDs: none -- Keyed Data Frame Summary Dimensions: 3 rows x 3 columns Key columns: id v Key is unique Row IDs: present (.id column) v 3 unique IDs, no issues -- Keyed Data Frame Summary Dimensions: 3 rows x 3 columns Key columns: id v Key is unique Row IDs: present (.id column) ! 1 missing ID(s) ! 1 duplicate ID(s) v Snapshot committed: 7c7a5a0f... -- Keyed Data Frame Summary Dimensions: 3 rows x 2 columns Key columns: id v Key is unique Row IDs: none Snapshot: committed v ID column is valid: 3 unique IDs, no issues. v All IDs are disjoint across 2 datasets. v All IDs are disjoint across 3 datasets. v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... v Cleared 1 snapshot(s). i No snapshots in cache. v Snapshot committed: 209cb5e4... v Cleared 1 snapshot(s). i No snapshots in cache. v Snapshot committed: 209cb5e4... v Cleared 1 snapshot(s). i No snapshots in cache. v Snapshot committed: 209cb5e4... i No snapshots in cache. v Snapshot committed: 209cb5e4... v Cleared 1 snapshot(s). i No snapshots in cache. v Snapshot committed: 209cb5e4... -- Drift Report v No drift detected Snapshot: 209cb5e4... (2026-01-25 04:06) v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... -- Drift Report ! Drift detected Snapshot: 209cb5e4... (2026-01-25 04:06) i Columns added: y i Key values changed v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... -- Drift Report ! Drift detected Snapshot: 209cb5e4... (2026-01-25 04:06) i Row count: 3 -> 4 (+1) i Key values changed v Cleared 1 snapshot(s). v Snapshot committed: 93ee16a9... -- Drift Report ! Drift detected Snapshot: 93ee16a9... (2026-01-25 04:06) i Columns removed: y i Key values changed v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... -- Drift Report v No drift detected Snapshot: 209cb5e4... (2026-01-25 04:06) v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... v Cleared 1 snapshot(s). v Snapshot committed: 209cb5e4... [ FAIL 0 | WARN 1 | SKIP 0 | PASS 287 ] [ FAIL 0 | WARN 1 | SKIP 0 | PASS 287 ] > > proc.time() user system elapsed 3.32 0.60 3.93