Last updated on 2024-05-21 17:50:24 CEST.
Package | ERROR | OK |
---|---|---|
hettx | 1 | 11 |
Current CRAN status: ERROR: 1, OK: 11
Version: 0.1.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [48s/58s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(hettx)
>
> test_check("hettx")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 29 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_estimate_systematic.R:99:5'): Main complier methods work ───────
Error in `est.beta.LATE(formula = formula, data = data, interaction.formula = interaction.formula,
method = method, na.rm = na.rm)`: min(n11, n10, n01, n00) > 1 is not TRUE
Backtrace:
▆
1. └─hettx::estimate_systematic(...) at test_estimate_systematic.R:99:5
2. └─hettx:::est.beta.LATE(...)
3. └─base::stopifnot(min(n11, n10, n01, n00) > 1)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 29 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64