Last updated on 2025-11-01 10:50:04 CET.
| Package | ERROR | OK |
|---|---|---|
| polle | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 1.5
Check: tests
Result: ERROR
Running ‘test-all.R’ [274s/173s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> suppressPackageStartupMessages(library("testthat"))
> test_check("polle")
Loading required package: polle
Loading required package: SuperLearner
Loading required package: nnls
Loading required package: gam
Loading required package: splines
Loading required package: foreach
Loaded gam 1.22-6
Super Learner
Version: 2.0-29
Package created on 2024-02-06
[ FAIL 3 | WARN 24 | SKIP 0 | PASS 572 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-policy_eval.R:448:3'): policy_eval with target = 'value' agrees with targeted::lava ──
unname(vcov(ca_dml2$estimate)["(Intercept)", "(Intercept)"]) not equal to unname(vcov(estimate(pe_dml2))[1, 1]).
1/1 mismatches
[1] 0.364 - 0.363 == 0.00125
── Error ('test-policy_eval.R:812:3'): conditional.policy_eval agrees with targeted::CATE ──
Error in `cate(treatment = A ~ factor(B) - 1, response = U ~ A * Z, propensity_model = A ~
1, data = d, nfolds = 1, type = "dml2")`: argument 2 matches multiple formal arguments
── Error ('test-policy_eval_subgroup.R:77:5'): policy_eval with target 'subgroup' agrees with targeted::cate. ──
Error in `cate(treatment = A ~ factor(d) - 1, response = U ~ A * Z, propensity_model = A ~
1, data = d, nfolds = 1, type = "dml2")`: argument 2 matches multiple formal arguments
[ FAIL 3 | WARN 24 | SKIP 0 | PASS 572 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.5
Check: tests
Result: ERROR
Running ‘test-all.R’ [171s/155s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> suppressPackageStartupMessages(library("testthat"))
> test_check("polle")
Loading required package: polle
Loading required package: SuperLearner
Loading required package: nnls
Loading required package: gam
Loading required package: splines
Loading required package: foreach
Loaded gam 1.22-6
Super Learner
Version: 2.0-29
Package created on 2024-02-06
[ FAIL 3 | WARN 24 | SKIP 0 | PASS 572 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-policy_eval.R:448:3'): policy_eval with target = 'value' agrees with targeted::lava ──
unname(vcov(ca_dml2$estimate)["(Intercept)", "(Intercept)"]) not equal to unname(vcov(estimate(pe_dml2))[1, 1]).
1/1 mismatches
[1] 0.364 - 0.363 == 0.00125
── Error ('test-policy_eval.R:812:3'): conditional.policy_eval agrees with targeted::CATE ──
Error in `cate(treatment = A ~ factor(B) - 1, response = U ~ A * Z, propensity_model = A ~
1, data = d, nfolds = 1, type = "dml2")`: argument 2 matches multiple formal arguments
── Error ('test-policy_eval_subgroup.R:77:5'): policy_eval with target 'subgroup' agrees with targeted::cate. ──
Error in `cate(treatment = A ~ factor(d) - 1, response = U ~ A * Z, propensity_model = A ~
1, data = d, nfolds = 1, type = "dml2")`: argument 2 matches multiple formal arguments
[ FAIL 3 | WARN 24 | SKIP 0 | PASS 572 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc