“…All analyses and spatial layer manipulations were implemented in R (R Core Team, 2021) using the following packages: raster (Hijmans et al, 2015), rgdal (Bivand et al, 2021), grainscape (Chubaty et al, 2020), gdistance (van Etten, 2017), vegan (Oksanen et al, 2020), dgof (Arnold & Emerson, 2011), cooccur (Griffith et al, 2014) and betapart (Baselga et al, 2021).…”