EvolEcolGroup / tidysdm

R package to fit species distribution models (SDMs) using the 'tidymodels' framework
https://evolecolgroup.github.io/tidysdm/
GNU Affero General Public License v3.0
28 stars 8 forks source link

Cannot follow the tutorial "tidysdm overview" #31

Closed ManuelSpinola closed 10 months ago

ManuelSpinola commented 10 months ago

I got an error following the tutorial "tidysdm overview"

library(tidysdm) library(pastclim)

land_mask <- get_land_mask(time_ce = 1985, dataset = "WorldClim_2.1_10m") Error in check_var_downloaded(bio_variables, dataset) : variable (bio01) not yet downloaded, use download_dataset()

dramanica commented 10 months ago

Thanks for reporting this issue! The problem is that the Worldclim dataset has not been downloaded on your machine yet. That can be fixed with:

download_dataset(dataset = "WorldClim_2.1_10m")

I have updated the vignette on our website to fix that omission (you might need to refresh the page on your browser to see the changes). Let me know if you encounter any further issue.