Correction to: Nature Ecology & Evolution https://doi.org/10.1038/s41559-024-02364-1, published online 11 March 2024.

In the version of the article initially published, the affiliation of Edgardo Manuel Latrubesse was incorrect and has now been amended to Environmental Sciences Graduate Program-CIAMB, Federal University of Goiás, Goiânia, Brazil in the HTML and PDF versions of the article.