mlr: function fold invoked with 1 argument; expected 3
