mlr3misc
Helper functions and utility classes shared across the mlr3 ecosystem
The mlr3 utility belt has spent a year rebuilding how errors travel
◆Recent moves
- 2mo ago
mlr3misc 0.22.0 fixes a silently disabled encapsulate timeout
encapsulate() now short-circuits when .timeout is 0 and returns an immediate timeout log entry instead of silently disabling enforcement, register_namespace_callback() wraps user callbacks, and as_short_string() prints factor values. The timeout fix removes a case where a stated limit quietly did nothing.
View source ↗ - 5mo ago
mlr3misc 0.21.0 makes encapsulate methods behave consistently
encapsulate() with the evaluate method now respects .seed and .opts and stops storing output, matching the other encapsulation methods, while log messages become condition objects and Mlr3Error gains parent-condition storage. Consistency across encapsulation backends plus the groundwork for structured error chains.
View source ↗ - 5mo ago
mlr3misc 0.20.0 drops the msg column from encapsulate logs
The msg column is removed from encapsulate logs — a breaking change following from conditions being stored as objects — alongside a new warn_deprecated() helper, an unnest() fix for vector-valued elements, and discard() no longer stripping attributes.
View source ↗ - 11mo ago
mlr3misc 0.19.0 returns condition objects from encapsulate()
encapsulate() starts returning the specific condition objects alongside its logs, with several new error-handling functions. This is the release the subsequent error-handling work builds on.
View source ↗ - 1y ago
mlr3misc 0.18.0 adds mirai as an encapsulation method
Adds mirai as an encapsulation method for encapsulate(). Another execution backend for isolated evaluation, not a change to what encapsulation means.
View source ↗ - 1y ago
mlr3misc 0.17.0 adds condition classes to warningf() and stopf()
warningf() and stopf() gain a class argument and attach mlr3warning and mlr3error classes, the %check&&% and %check||% operators move here from mlr3pipelines, and as_callbacks() returns a list named by callback id. The condition classes are the seed of the structured error handling that follows.
View source ↗