Closed robertzk closed 9 years ago
mb <- mungebit$new(function(data, x, y) { print(x); print(y); data }) mp <- mungepiece$new(mb, list(x = 2)) x <- 3 mp$run(iris, y = x) -> iris2 # Will incorrectly say y is 2!
Fixed by replacing x with _x in the hidden train args environment.
x
_x
Oh, nice catch!