CRAN Package Check Results for Package stratamatch

Last updated on 2025-04-19 09:49:46 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.9 8.26 118.38 126.64 OK
r-devel-linux-x86_64-debian-gcc 0.1.9 5.74 89.64 95.38 OK
r-devel-linux-x86_64-fedora-clang 0.1.9 202.12 OK
r-devel-linux-x86_64-fedora-gcc 0.1.9 213.66 OK
r-devel-windows-x86_64 0.1.9 9.00 136.00 145.00 OK
r-patched-linux-x86_64 0.1.9 7.75 114.52 122.27 ERROR
r-release-linux-x86_64 0.1.9 6.73 117.22 123.95 OK
r-release-macos-arm64 0.1.9 67.00 OK
r-release-macos-x86_64 0.1.9 165.00 OK
r-release-windows-x86_64 0.1.9 9.00 131.00 140.00 OK
r-oldrel-macos-arm64 0.1.9 65.00 OK
r-oldrel-macos-x86_64 0.1.9 116.00 OK
r-oldrel-windows-x86_64 0.1.9 12.00 164.00 176.00 OK

Check Details

Version: 0.1.9
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/12s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(stratamatch) > > test_check("stratamatch") [ FAIL 3 | WARN 11 | SKIP 0 | PASS 281 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-auto_stratify.R:465:3'): auto_stratify with logical outcome works ── sort(unique(a.strat$analysis_set$stratum)) not equal to 1:4. Lengths differ: 2 is not 4 ── Failure ('test-auto_stratify.R:477:3'): auto_stratify with logical outcome works ── dim(x) not equal to c(n_strat, 6). 1/2 mismatches [1] 2 - 4 == -2 Backtrace: ▆ 1. └─stratamatch (local) expect_issue_table_ok(...) at test-auto_stratify.R:477:3 2. └─testthat::expect_equal(dim(x), c(n_strat, 6)) at test-auto_stratify.R:13:3 ── Failure ('test-auto_stratify.R:478:3'): auto_stratify with logical outcome works ── dim(x) not equal to c(n_strat, 3). 1/2 mismatches [1] 2 - 4 == -2 Backtrace: ▆ 1. └─stratamatch (local) expect_strata_table_ok(...) at test-auto_stratify.R:478:3 2. └─testthat::expect_equal(dim(x), c(n_strat, 3)) at test-auto_stratify.R:36:3 [ FAIL 3 | WARN 11 | SKIP 0 | PASS 281 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64