add additional tests #66
6 errors, 2 skipped, 8 pass in 0s
β1 filesβ Β±0βββ5 suitesβ Β±0βββ0s β±οΈ Β±0s
16 tests Β±0βββ8 β
Β±0ββ2 π€ Β±0ββ0 β Β±0ββ6 π₯ Β±0β
32 runsβ Β±0ββ24 β
Β±0ββ2 π€ Β±0ββ0 β Β±0ββ6 π₯ Β±0β
Results for commit baebf8c.βΒ± Comparison against earlier commit 35d1531.
Annotations
Check failure on line 0 in predict_counterfactual
github-actions / Unit Tests Summary
predict_counterfactual_works_for_guassian (predict_counterfactual) with error
RobinCar2.Rcheck/tests/testthat/junit-result.xmlβ[took 0s]
Raw output
Error in `find_data(fit)`: could not find function "find_data" ('test-predict_counterfactual.R:2:3')
Error in `find_data(fit)`: could not find function "find_data"
Backtrace:
x
1. \-testthat::expect_snapshot(predict_counterfactual(fit_glm, "treatment")) at test-predict_counterfactual.R:2:3
2. \-rlang::cnd_signal(state$error)
Check failure on line 0 in predict_counterfactual
github-actions / Unit Tests Summary
predict_counterfactual_works_for_binomial (predict_counterfactual) with error
RobinCar2.Rcheck/tests/testthat/junit-result.xmlβ[took 0s]
Raw output
Error in `find_data(fit)`: could not find function "find_data" ('test-predict_counterfactual.R:10:3')
Error in `find_data(fit)`: could not find function "find_data"
Backtrace:
x
1. \-testthat::expect_snapshot(predict_counterfactual(fit_binom, "treatment")) at test-predict_counterfactual.R:10:3
2. \-rlang::cnd_signal(state$error)
Check failure on line 0 in predict_counterfactual
github-actions / Unit Tests Summary
predict_counterfactual_works_if_contrast_are_non_standard (predict_counterfactual) with error
RobinCar2.Rcheck/tests/testthat/junit-result.xmlβ[took 0s]
Raw output
Error in `find_data(fit)`: could not find function "find_data" ('test-predict_counterfactual.R:17:3')
Error in `find_data(fit)`: could not find function "find_data"
Backtrace:
x
1. +-testthat::expect_silent(...) at test-predict_counterfactual.R:17:3
2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. | +-testthat (local) .capture(...)
4. | | +-withr::with_output_sink(...)
5. | | | \-base::force(code)
6. | | +-base::withCallingHandlers(...)
7. | | \-base::withVisible(code)
8. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. +-RobinCar2::predict_counterfactual(fit, treatment ~ 1)
10. \-RobinCar2:::predict_counterfactual.glm(fit, treatment ~ 1)
11. \-RobinCar2:::predict_counterfactual.lm(...)
12. \-checkmate::assert_data_frame(data)
13. \-checkmate::checkDataFrame(...)
14. \-... %and% checkListTypes(x, types)
15. \-base::isTRUE(lhs)
Check failure on line 0 in treatment_effect
github-actions / Unit Tests Summary
treatment_effect_works_as_expected (treatment_effect) with error
RobinCar2.Rcheck/tests/testthat/junit-result.xmlβ[took 0s]
Raw output
Error in `find_data(fit)`: could not find function "find_data" ('test-treatment_effect.R:88:3')
Error in `find_data(fit)`: could not find function "find_data"
Backtrace:
x
1. +-RobinCar2::predict_counterfactual(fit_binom, treatment ~ s1) at test-treatment_effect.R:88:3
2. \-RobinCar2:::predict_counterfactual.glm(...)
3. \-RobinCar2:::predict_counterfactual.lm(...)
4. \-checkmate::assert_data_frame(data)
5. \-checkmate::checkDataFrame(...)
6. \-... %and% checkListTypes(x, types)
7. \-base::isTRUE(lhs)
Check failure on line 0 in variance
github-actions / Unit Tests Summary
vcovHC_works (variance) with error
RobinCar2.Rcheck/tests/testthat/junit-result.xmlβ[took 0s]
Raw output
Error in `find_data(fit)`: could not find function "find_data" ('test-variance.R:2:3')
Error in `find_data(fit)`: could not find function "find_data"
Backtrace:
x
1. +-RobinCar2::predict_counterfactual(fit_binom, treatment ~ s1) at test-variance.R:2:3
2. \-RobinCar2:::predict_counterfactual.glm(...)
3. \-RobinCar2:::predict_counterfactual.lm(...)
4. \-checkmate::assert_data_frame(data)
5. \-checkmate::checkDataFrame(...)
6. \-... %and% checkListTypes(x, types)
7. \-base::isTRUE(lhs)
Check failure on line 0 in variance
github-actions / Unit Tests Summary
vcovANHECOVA_works (variance) with error
RobinCar2.Rcheck/tests/testthat/junit-result.xmlβ[took 0s]
Raw output
Error in `find_data(fit)`: could not find function "find_data" ('test-variance.R:9:3')
Error in `find_data(fit)`: could not find function "find_data"
Backtrace:
x
1. +-RobinCar2::predict_counterfactual(fit_binom, treatment ~ s1) at test-variance.R:9:3
2. \-RobinCar2:::predict_counterfactual.glm(...)
3. \-RobinCar2:::predict_counterfactual.lm(...)
4. \-checkmate::assert_data_frame(data)
5. \-checkmate::checkDataFrame(...)
6. \-... %and% checkListTypes(x, types)
7. \-base::isTRUE(lhs)