Problem to fit ensemble models

Please provide a reprex, as described here: FAQ: What's a reproducible example (`reprex`) and how do I do one?