Last updated on 2025-07-10 06:50:55 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
stratamatch | 1 | 2 | 10 |
Current CRAN status: ERROR: 1, NOTE: 2, OK: 10
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 1 | WARN 4 | SKIP 0 | PASS 283 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── 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] 3 - 4 == -1
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 1 | WARN 4 | SKIP 0 | PASS 283 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64