Skip to content

Commit

Permalink
update loaded_packages, version++
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Dylan Hocking committed Oct 28, 2024
1 parent 6c5d1a9 commit b3b0ce0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mlr3resampling
Type: Package
Title: Resampling Algorithms for 'mlr3' Framework
Version: 2024.10.22
Version: 2024.10.28
Authors@R: c(
person("Toby", "Hocking",
email="[email protected]",
Expand Down Expand Up @@ -56,7 +56,7 @@ Imports:
R6,
checkmate,
paradox,
mlr3,
mlr3 (>= 0.21.1),
mlr3misc
Suggests:
ggplot2,
Expand Down
8 changes: 8 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Changes in version 2024.10.28

- .onLoad, add mlr3resampling to mlr3_reflections$loaded_packages, thanks @be-marc for the idea, https://github.com/tdhock/mlr3resampling/issues/17

Changes in version 2024.10.22

- update docs, group -> subset.

Changes in version 2024.9.6

- .onLoad, add subset to mlr3_reflections$task_col_roles for classif and regr.
Expand Down
1 change: 1 addition & 0 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ register_mlr3 = function() {
x = utils::getFromNamespace("mlr_reflections", ns = "mlr3")
x$task_col_roles$classif = c(x$task_col_roles$classif, "subset")
x$task_col_roles$regr = c(x$task_col_roles$regr, "subset")
x$loaded_packages = c(x$loaded_packages, "mlr3resampling")
mlr3misc::register_namespace_callback(pkgname, "mlr3", register_mlr3)
}

Expand Down

0 comments on commit b3b0ce0

Please sign in to comment.