Skip to content

Commit

Permalink
fix: register mlr3fselect in the mlr_reflections$loaded_packages field (
Browse files Browse the repository at this point in the history
#120)

* fix: regist mlr3fselect in the mlr_reflections$loaded_packages field

* ...O
  • Loading branch information
be-marc authored Oct 18, 2024
1 parent 2cb8ecf commit 4909975
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Suggests:
mlr3pipelines,
rpart,
testthat (>= 3.0.0)
Remotes:
mlr-org/mlr3
Config/testthat/edition: 3
Config/testthat/parallel: true
Encoding: UTF-8
Expand Down
1 change: 1 addition & 0 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
x = utils::getFromNamespace("mlr_reflections", ns = "mlr3")
x$task_col_roles$classif = unique(c(x$task_col_roles$classif, "always_included"))
x$task_col_roles$regr = unique(c(x$task_col_roles$regr, "always_included"))
x$loaded_packages = c(x$loaded_packages, "mlr3fselect")

# callbacks
x = utils::getFromNamespace("mlr_callbacks", ns = "mlr3misc")
Expand Down

0 comments on commit 4909975

Please sign in to comment.