CRAN Package Check Results for Package stratamatch

Last updated on 2025-08-11 08:48:39 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.9 7.85 121.89 129.74 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.9 5.64 90.37 96.01 NOTE
r-devel-linux-x86_64-fedora-clang 0.1.9 202.34 OK
r-devel-linux-x86_64-fedora-gcc 0.1.9 206.10 OK
r-devel-windows-x86_64 0.1.9 9.00 132.00 141.00 ERROR
r-patched-linux-x86_64 0.1.9 7.40 116.93 124.33 OK
r-release-linux-x86_64 0.1.9 7.40 115.60 123.00 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 130.00 139.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 162.00 174.00 OK

Check Details

Version: 0.1.9
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Rachael C. Aikens <rockyaikens@gmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.9
Check: tests
Result: ERROR Running 'testthat.R' [9s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(stratamatch) > > test_check("stratamatch") [ FAIL 3 | WARN 10 | 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 10 | SKIP 0 | PASS 281 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64