Hello everyone, I'm trying to adecuate my script to the new recomended packages (sp -> sf, raster -> terra, etc), and I can not find any alternative to the getData() function in the terra or star package.
I would like to achive something as simple as download directly global bioclimatic data from worldclim site, in the previous version (with raster) the code was like this:
"climVar<- getData('worldclim', var = "bio", res = 5)"
I'm aware that at this point not all functionalities and compatibilites are posible with these new packages (e.g. I
had to use sp classes in a previous step instead the sf ones), but I'm kinda new with R and I thought that maybe there is another solution I'm not able to see/find/realise yet.
Thank you in advance for your time.