R Under development (unstable) (2024-07-08 r86886 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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(joyn) Attaching package: 'joyn' The following object is masked from 'package:base': merge > > test_check("joyn") x Error: Input table x has no columns. x Error: Input table x has no columns. x Error: Input table y has no columns. x Error: Neither x or y table has columns. x Error: Table x has the following column duplicated: x. Please rename or remove and try again. x Error: table x is not uniquely identified by id Duplicate counts in x: id copies 1: 1 2 x Error: table y is not uniquely identified by id Duplicate counts in y: id copies 1: 2 2 x Error: table x is not uniquely identified by id1 x Error: table y is not uniquely identified by id1 Duplicate counts in x: id1 copies 1: 1 2 Duplicate counts in y: id1 copies 1: 3 2 x Error: table y is not uniquely identified by id Duplicate counts in y: id copies 1: 2 2 x Error: table y is not uniquely identified by id Duplicate counts in y: id copies 1: 2 2 ! Warning: argument copy = TRUE is not active in this version of joyn ! Warning: joyn does not currently allow inequality joins, so keep = NULL will retain only keys in x inner join: df1[id1, id2] 3/4 (75%) <1:1st> df3[id1, id2] 3/4 (75%) i Note: Joyn's report available in variable .joyn v This is an info message o Timing:The full joyn is executed in 0.000456 seconds. o Timing: The entire joyn function, including checks, is executed in 0.022841 seconds. ! Warning: Currently, joyn allows only na_matches = 'na' x This is a warning message ! Warning: Currently, joyn allows only na_matches = 'na' x This is a warning message v first try v first try info v second try warn v first try info v third try note v second try warn x Error: table y is not uniquely identified by id x Error: table x is not uniquely identified by id x Error: table y is not uniquely identified by id -- JOYn Report -- .joyn n percent 1 x 2 100% 2 y 1 50% 3 total 2 100% ---------------------------------------------------------- End of JOYn report -- i Note: Joyn's report available in variable .joyn ! Warning: cannot use arguments update_values = TRUE and/or update_NAs = TRUE for anti join x Error: table x is not uniquely identified by id v There are no duplicates in data frame > we found 1 possible id v There are no duplicates in data frame > we found 1 possible id ! Since `exclude` is NULL, `include` directive does not make sense. Ignored. v There are no duplicates in data frame > we found 1 possible id v There are no duplicates in data frame > we found 2 possible ids ! Data has duplicates. returning NULL -- Duplicates in terms of `t` copies n percent 1 1 1 33.3% 2 2 2 66.7% 3 total 3 100% ------------------------------------------------------- End of is_id() report -- ! Variable rer is not available in data frame. Nothing is excluded. v There are no duplicates in data frame > we found 1 possible id v There are no duplicates in data frame > we found 1 possible id v There are no duplicates in data frame > we found 1 possible id ── JOYn Report ── .joyn n percent 1 x 2 25% 2 y 1 12.5% 3 x & y 5 62.5% 4 total 8 100% ────────────────────────────────────────────────────────── End of JOYn report ── ℹ Note: Joyn's report available in variable .joyn ℹ Note: Removing key variables id from id, x, category, and t i name x- is an invalid variable name. It will be changed to x. i name is an invalid variable name. It will be changed to X [ FAIL 0 | WARN 0 | SKIP 3 | PASS 467 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • This test is not needed anymore because the match is always m:m in collapse::join (1): 'test-joyn_workhorse.R:76:3' • joyn_workhorse does not check match type (1): 'test-joyn_workhorse.R:202:3' • warning of cartesian is not working well yet - (1): 'test-merge-data.table.R:69:3' [ FAIL 0 | WARN 0 | SKIP 3 | PASS 467 ] > > proc.time() user system elapsed 25.06 2.48 27.14