mlr: function apply invoked with 1 argument; expected 2
