Helper functions for R-mlr3
