mlr-org / mlr3learners

Recommended learners for mlr3
https://mlr3learners.mlr-org.com
GNU Lesser General Public License v3.0
91 stars 15 forks source link

Error loading learner regr.lm #325

Open wolfgang5o5 opened 3 days ago

wolfgang5o5 commented 3 days ago

While code was working before, now I get an error when loading learner regr.lm

learner_lm = lrn("regr.lm") Error in sort(assert_subset(properties, mlr_reflections$learner_properties[[task_type]])) : Assertion on 'properties' failed: Must be a subset of {'featureless','missings','weights','importance','selected_features','oob_error','hotstart_forward','hotstart_backward','validation','internal_tuning','marshal'}, but has additional elements {'loglik'}.

R version 4.3.3 mlr3learners version 0.8.0

be-marc commented 3 days ago

You use a combination of mlr3 from github and mlr3learners from CRAN. Installing mlr3learners also from github should fix the issue.

wolfgang5o5 commented 3 days ago

Thank you very much for the hint. Installing mlr3learners from github solved the problem