Error in `grepl(as.character(pattern), x, ignore.case, FALSE, perl, fixed, 
    useBytes, FALSE)`: 'length = 11' in coercion to 'logical(1)'

console_appender = if (packageVersion("lgr") >= "0.4.0") lg$inherited_appenders$console else lg$inherited_appenders$appenders.console
f = tempfile("mlr3test_", fileext = "log")
lg$add_appender(lgr::AppenderFile$new(f, threshold = "debug"), name = "testappender")
rr = suppressWarnings(resample(task, learner, resampling))
expect_match(lines, "'iris'", fixed = TRUE, all = FALSE)
expect_match(lines, "'classif.featureless'", lines, fixed = TRUE, all = FALSE)