Hi @julia, thank you for maintaining the {spatialsample} package!
I've been reading through its vignettes and am trying to figure out if I still want to generate training and test sets before doing resampling as in Figure 10.1 of your book. That said, in order for the test set to be useful, you would want to account for spatial auto-correlation when making the initial split by using a stratification variable, but none exists which is why we're using spatial methods for resampling in the first place.
So it seems like the answer is no, don't do an initial split into training and test sets before the spatial resampling. Instead, split into analysis and holdout sets after generating your resampled folds, and hope that's good enough to give representative picture of model performance?