diff --git a/DESCRIPTION b/DESCRIPTION index 0690b722..a970e1a7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: bbotk Title: Black-Box Optimization Toolkit -Version: 0.6.0.9000 +Version: 0.7.0 Authors@R: c(person(given = "Marc", family = "Becker", diff --git a/NEWS.md b/NEWS.md index 0bd59762..ccd73fc8 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# bbotk 0.6.0.9000 +# bbotk 0.7.0 * fix: `Terminator$format(with_params = TRUE)` printed an empty list when no parameter was set. * refactor: `OptimizerIrace` automatically added the `instances` parameter to `Objective$constants`. diff --git a/R/OptimizerIrace.R b/R/OptimizerIrace.R index b5cf5b86..532725e1 100644 --- a/R/OptimizerIrace.R +++ b/R/OptimizerIrace.R @@ -244,6 +244,8 @@ target_runner_default = function(experiment, exec.target.runner, scenario, targe paradox_to_irace = function(param_set, digits) { assertClass(param_set, "ParamSet") + # workaround for mlr3tuning 0.15.0 + digits = assert_int(digits %??% 15, lower = 0) if ("ParamUty" %in% param_set$class) stop(" not supported by ") # types