11ab05a introduced an infinite recursion:
# from the commit:
runlock = function(x) {
if (is.recursive(x)) {
if (inherits(x, 'data.table')) .Call(C_unlock, x)
else return(lapply(x, runlock))
}
return(invisible())
}
# example input data
x = new.env()
x$a = 2
x$b = x
runlock(x)
Background: we are creating R6 objects (basically environments) from grouped subsets of the data. Some of these objects have references to each other (c.f. https://github.com/mlr-org/mlr3/blob/master/R/BenchmarkResult.R#L226).
11ab05a introduced an infinite recursion:
Background: we are creating R6 objects (basically environments) from grouped subsets of the data. Some of these objects have references to each other (c.f. https://github.com/mlr-org/mlr3/blob/master/R/BenchmarkResult.R#L226).