Overloads mlr3::lrn to automatically detect if required packages are installed.

lrn(.key, ...)

lrns(.keys, ...)

Arguments

.key

(character(1))
Key passed to mlr_learners to retrieve the learner.

...

ANY
Passed to mlr3::lrns

.keys

(character())
Keys passed to mlr_learners to retrieve the learners.