CRAN Package Check Results for Package stratamatch

Last updated on 2024-05-20 01:49:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.9 8.34 144.51 152.85 OK
r-devel-linux-x86_64-debian-gcc 0.1.9 8.00 112.16 120.16 OK
r-devel-linux-x86_64-fedora-clang 0.1.9 200.58 OK
r-devel-linux-x86_64-fedora-gcc 0.1.9 263.77 OK
r-devel-windows-x86_64 0.1.9 9.00 126.00 135.00 OK
r-patched-linux-x86_64 0.1.9 9.44 139.84 149.28 OK
r-release-linux-x86_64 0.1.9 5.91 138.99 144.90 ERROR
r-release-macos-arm64 0.1.9 65.00 OK
r-release-windows-x86_64 0.1.9 8.00 128.00 136.00 OK
r-oldrel-macos-arm64 0.1.9 73.00 OK
r-oldrel-macos-x86_64 0.1.9 105.00 OK
r-oldrel-windows-x86_64 0.1.9 11.00 157.00 168.00 OK

Check Details

Version: 0.1.9
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/15s] 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:326:3'): auto_stratify with prognostic formula + pilot_fraction works ── sort(unique(a.strat$analysis_set$stratum)) not equal to 1:4. Lengths differ: 2 is not 4 ── Failure ('test-auto_stratify.R:338:3'): auto_stratify with prognostic formula + pilot_fraction 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:338:3 2. └─testthat::expect_equal(dim(x), c(n_strat, 6)) at test-auto_stratify.R:13:3 ── Failure ('test-auto_stratify.R:339:3'): auto_stratify with prognostic formula + pilot_fraction 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:339: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-release-linux-x86_64