a-hanf / mlr3automl

Automated machine learning in mlr3
GNU Lesser General Public License v3.0
25 stars 4 forks source link

bad if-condition #12

Closed mb706 closed 3 years ago

mb706 commented 3 years ago

https://github.com/a-hanf/mlr3automl/blob/e15722650a1ec9e66b1a66dcf2e37d3ce6bb3041/R/AutoMLBase.R#L191

When learner_timeout is not NULL, then the condition evaluates to TRUE, when learner_timeout is NULL, then it evaluates to NA.

a-hanf commented 3 years ago

Thanks for the report, fixed in #14