mlr must be attached because otherwise 'getMlrOptions()' in 'makeLearner' will not be found.
check_mlr_attached()