We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8d217 commit 281df69Copy full SHA for 281df69
R/double_ml.R
@@ -1245,10 +1245,16 @@ DoubleML = R6Class("DoubleML",
1245
invisible(self)
1246
},
1247
assert_learner = function(learner, learner_name, Regr, Classif) {
1248
+
1249
assert(
1250
check_character(learner, max.len = 1),
1251
check_class(learner, "Learner"))
1252
1253
+ if (test_class(learner, "AutoTuner")) {
1254
+ stop(paste0(
1255
+ "Learners of class 'AutoTuner' are not supported."
1256
+ ))
1257
+ }
1258
if (is.character(learner)) {
1259
# warning("Learner provision by character() will be deprecated in the
1260
# future.")
0 commit comments