Running ‘testthat_regression_tests.R’ [202s/248s]
Running the tests in ‘tests/testthat_regression_tests.R’ failed.
Complete output:
  > 
  > library("testthat")
  > library("patrick")
  > library("DoubleML")
  > 
  > testthat::test_check("DoubleML")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● Skip old regression tests (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-double_ml_iivm_tuning.R:75:3): Unit tests for tuning of IIVM: rpart_dml2_LATE_TRUE_TRUE_1_1_FALSE ──
  Error: attempt to apply non-function
  Backtrace:
      █
   1. ├─rlang::eval_tidy(code, args)
   2. └─double_mliivm_obj_tuned$tune(...) test-double_ml_iivm_tuning.R:75:2
   3.   └─private$ml_nuisance_tuning(...)
   4.     └─base::lapply(...)
   5.       └─DoubleML:::FUN(X[[i]], ...)
   6.         └─DoubleML:::tune_instance(tuner, x)
  ── Error (test-double_ml_irm_tuning.R:74:3): Unit tests for tuning of PLR: rpart_dml2_ATE_FALSE_1_1 ──
  Error: attempt to apply non-function
  Backtrace:
      █
   1. ├─rlang::eval_tidy(code, args)
   2. └─double_mlirm_obj_tuned$tune(...) test-double_ml_irm_tuning.R:74:2
   3.   └─private$ml_nuisance_tuning(...)
   4.     └─base::lapply(...)
   5.       └─DoubleML:::FUN(X[[i]], ...)
   6.         └─DoubleML:::tune_instance(tuner, x)
  ── Error (test-double_ml_pliv_tuning.R:91:3): Unit tests for tuning of PLIV dml2_partialling out_1_1_FALSE_1 ──
  Error: attempt to apply non-function
  Backtrace:
      █
   1. ├─rlang::eval_tidy(code, args)
   2. └─double_mlpliv_obj_tuned$tune(...) test-double_ml_pliv_tuning.R:91:2
   3.   └─private$ml_nuisance_tuning(...)
   4.     └─private$ml_nuisance_tuning_partialX(...)
   5.       └─base::lapply(...)
   6.         └─DoubleML:::FUN(X[[i]], ...)
   7.           └─DoubleML:::tune_instance(tuner, x)
  ── Error (test-double_ml_plr_tuning.R:87:3): Unit tests for tuning of PLR: regr.rpart_dml2_partialling out_1_FALSE_1 ──
  Error: attempt to apply non-function
  Backtrace:
      █
   1. ├─rlang::eval_tidy(code, args)
   2. └─double_mlplr_obj_tuned$tune(...) test-double_ml_plr_tuning.R:87:2
   3.   └─private$ml_nuisance_tuning(...)
   4.     └─base::lapply(...)
   5.       └─DoubleML:::FUN(X[[i]], ...)
   6.         └─DoubleML:::tune_instance(tuner, x)
  ── Error (test-double_ml_plr_tuning.R:87:3): Unit tests for tuning of PLR: regr.rpart_dml2_partialling out_1_TRUE_1 ──
  Error: attempt to apply non-function
  Backtrace:
      █
   1. ├─rlang::eval_tidy(code, args)
   2. └─double_mlplr_obj_tuned$tune(...) test-double_ml_plr_tuning.R:87:2
   3.   └─private$ml_nuisance_tuning(...)
   4.     └─base::lapply(...)
   5.       └─DoubleML:::FUN(X[[i]], ...)
   6.         └─DoubleML:::tune_instance(tuner, x)
  
  [ FAIL 5 | WARN 0 | SKIP 1 | PASS 83 ]
  Error: Test failures
  Execution halted