- using R Under development (unstable) (2024-06-28 r86849)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (GCC) 14.1.0
GNU Fortran (GCC) 14.1.0
- running under: Fedora Linux 36 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘DoubleML/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘DoubleML’ version ‘1.0.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘DoubleML’ can be installed ... [21s/116s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [14s/37s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [5m/15m] ERROR
Running ‘testthat_regression_tests.R’ [5m/15m]
Running the tests in ‘tests/testthat_regression_tests.R’ failed.
Complete output:
>
> library("testthat")
> library("patrick")
> library("DoubleML")
>
> testthat::test_check("DoubleML")
[ FAIL 8 | WARN 0 | SKIP 11 | PASS 430 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• On CRAN (11): 'test-double_ml_datasets.R:15:1',
'test-double_ml_pliv_multi_z_parameter_passing.R:7:1',
'test-double_ml_pliv_partial_x.R:5:1',
'test-double_ml_pliv_partial_xz.R:7:1',
'test-double_ml_pliv_partial_xz_parameter_passing.R:5:1',
'test-double_ml_pliv_partial_z.R:5:1',
'test-double_ml_pliv_partial_z_parameter_passing.R:5:1',
'test-double_ml_print.R:16:3', 'test-double_ml_print.R:22:3',
'test-double_ml_print.R:28:3', 'test-double_ml_print.R:34:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-double_ml_iivm_tuning.R:9:1'): (code run outside of `test_that()`) ──
Error in `.__TunerRandomSearch__initialize(self = self, private = private,
super = super)`: object 'OptimizerRandomSearch' not found
Backtrace:
▆
1. └─mlr3tuning::tnr("random_search") at test-double_ml_iivm_tuning.R:9:1
2. └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
3. └─mlr3misc:::dictionary_get(dict, .key)
4. └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
5. ├─base::do.call(constructor$new, cargs)
6. └─R6 (local) `<fn>`()
7. └─mlr3tuning (local) initialize(...)
8. └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
9. └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
10. └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
11. └─bbotk::assert_optimizer(optimizer)
12. └─checkmate::assert_r6(optimizer, "Optimizer")
13. └─checkmate::checkR6(...)
── Error ('test-double_ml_irm_tuning.R:76:5'): Unit tests for tuning of PLR: rpart_dml2_ATE_FALSE_1 ──
Error in `.__Tuner__optimize(self = self, private = private, super = super,
inst = inst)`: object 'ContextOptimization' not found
Backtrace:
▆
1. ├─rlang::eval_tidy(code, args)
2. └─double_mlirm_obj_tuned$tune(...) at test-double_ml_irm_tuning.R:76:5
3. └─private$nuisance_tuning(...)
4. └─DoubleML:::dml_tune(...)
5. └─base::lapply(...)
6. └─DoubleML (local) FUN(X[[i]], ...)
7. └─DoubleML:::tune_instance(tune_settings$tuner, x)
8. └─tuner$optimize(tuning_instance)
9. └─mlr3tuning:::.__Tuner__optimize(...)
── Error ('test-double_ml_pliv_exception_handling.R:46:3'): Unit tests for deprecation warnings of PLIV ──
Error in `.__Tuner__optimize(self = self, private = private, super = super,
inst = inst)`: object 'ContextOptimization' not found
Backtrace:
▆
1. ├─testthat::expect_warning(dml_obj$tune(par_grids), regexp = msg) at test-double_ml_pliv_exception_handling.R:46:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─dml_obj$tune(par_grids)
7. └─super$tune(param_set, tune_settings, tune_on_folds)
8. └─private$nuisance_tuning(...)
9. └─private$nuisance_tuning_partialX(...)
10. └─DoubleML:::dml_tune(...)
11. └─base::lapply(...)
12. └─DoubleML (local) FUN(X[[i]], ...)
13. └─DoubleML:::tune_instance(tune_settings$tuner, x)
14. └─tuner$optimize(tuning_instance)
15. └─mlr3tuning:::.__Tuner__optimize(...)
── Error ('test-double_ml_pliv_tuning.R:98:5'): Unit tests for tuning of PLIV dml2_partialling out_1_FALSE ──
Error in `.__Tuner__optimize(self = self, private = private, super = super,
inst = inst)`: object 'ContextOptimization' not found
Backtrace:
▆
1. ├─rlang::eval_tidy(code, args)
2. └─double_mlpliv_obj_tuned$tune(...) at test-double_ml_pliv_tuning.R:98:5
3. └─super$tune(param_set, tune_settings, tune_on_folds)
4. └─private$nuisance_tuning(...)
5. └─private$nuisance_tuning_partialX(...)
6. └─DoubleML:::dml_tune(...)
7. └─base::lapply(...)
8. └─DoubleML (local) FUN(X[[i]], ...)
9. └─DoubleML:::tune_instance(tune_settings$tuner, x)
10. └─tuner$optimize(tuning_instance)
11. └─mlr3tuning:::.__Tuner__optimize(...)
── Error ('test-double_ml_pliv_tuning.R:188:5'): Unit tests for tuning of PLIV (multiple Z) dml2_partialling out_1_FALSE ──
Error in `.__Tuner__optimize(self = self, private = private, super = super,
inst = inst)`: object 'ContextOptimization' not found
Backtrace:
▆
1. ├─rlang::eval_tidy(code, args)
2. └─double_mlpliv_obj_tuned$tune(...) at test-double_ml_pliv_tuning.R:188:5
3. └─super$tune(param_set, tune_settings, tune_on_folds)
4. └─private$nuisance_tuning(...)
5. └─private$nuisance_tuning_partialX(...)
6. └─DoubleML:::dml_tune(...)
7. └─base::lapply(...)
8. └─DoubleML (local) FUN(X[[i]], ...)
9. └─DoubleML:::tune_instance(tune_settings$tuner, x)
10. └─tuner$optimize(tuning_instance)
11. └─mlr3tuning:::.__Tuner__optimize(...)
── Error ('test-double_ml_plr_exception_handling.R:176:3'): Unit tests for deprecation warnings of PLR ──
Error in `.__Tuner__optimize(self = self, private = private, super = super,
inst = inst)`: object 'ContextOptimization' not found
Backtrace:
▆
1. ├─testthat::expect_warning(dml_obj$tune(par_grids), regexp = msg) at test-double_ml_plr_exception_handling.R:176:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─dml_obj$tune(par_grids)
7. └─super$tune(param_set, tune_settings, tune_on_folds)
8. └─private$nuisance_tuning(...)
9. └─DoubleML:::dml_tune(...)
10. └─base::lapply(...)
11. └─DoubleML (local) FUN(X[[i]], ...)
12. └─DoubleML:::tune_instance(tune_settings$tuner, x)
13. └─tuner$optimize(tuning_instance)
14. └─mlr3tuning:::.__Tuner__optimize(...)
── Error ('test-double_ml_plr_tuning.R:95:5'): Unit tests for tuning of PLR: regr.rpart_regr.rpart_dml2_partialling out_1_FALSE ──
Error in `.__Tuner__optimize(self = self, private = private, super = super,
inst = inst)`: object 'ContextOptimization' not found
Backtrace:
▆
1. ├─rlang::eval_tidy(code, args)
2. └─double_mlplr_obj_tuned$tune(...) at test-double_ml_plr_tuning.R:95:5
3. └─super$tune(param_set, tune_settings, tune_on_folds)
4. └─private$nuisance_tuning(...)
5. └─DoubleML:::dml_tune(...)
6. └─base::lapply(...)
7. └─DoubleML (local) FUN(X[[i]], ...)
8. └─DoubleML:::tune_instance(tune_settings$tuner, x)
9. └─tuner$optimize(tuning_instance)
10. └─mlr3tuning:::.__Tuner__optimize(...)
── Error ('test-double_ml_plr_tuning.R:95:5'): Unit tests for tuning of PLR: regr.rpart_regr.rpart_dml2_partialling out_1_TRUE ──
Error in `.__Tuner__optimize(self = self, private = private, super = super,
inst = inst)`: object 'ContextOptimization' not found
Backtrace:
▆
1. ├─rlang::eval_tidy(code, args)
2. └─double_mlplr_obj_tuned$tune(...) at test-double_ml_plr_tuning.R:95:5
3. └─super$tune(param_set, tune_settings, tune_on_folds)
4. └─private$nuisance_tuning(...)
5. └─DoubleML:::dml_tune(...)
6. └─base::lapply(...)
7. └─DoubleML (local) FUN(X[[i]], ...)
8. └─DoubleML:::tune_instance(tune_settings$tuner, x)
9. └─tuner$optimize(tuning_instance)
10. └─mlr3tuning:::.__Tuner__optimize(...)
[ FAIL 8 | WARN 0 | SKIP 11 | PASS 430 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [1m/18m] OK
- checking PDF version of manual ... [11s/25s] OK
- checking HTML version of manual ... [6s/15s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR