mlr-org / bbotk

Black-box optimization framework for R.
https://bbotk.mlr-org.com
GNU Lesser General Public License v3.0
21 stars 9 forks source link

add logger to mlr_reflections #161

Closed be-marc closed 2 years ago

be-marc commented 2 years ago

https://github.com/mlr-org/mlr3/pull/736

mllg commented 2 years ago

This won't work if you first load bbotk and then mlr3. You need an onload hook.

mllg commented 2 years ago

I think you can use https://github.com/mlr-org/mlr3misc/blob/main/R/register_namespace_callback.R.

be-marc commented 2 years ago

Forget to mention that but okay there is a magic function for everything in mlr3misc. Thanks!