Published March 16, 2026 | Version v0.2.0

boyanangelov/sdmbench: v0.2.0

Authors/Creators

Description

v0.2.0

This release modernizes the package by replacing all retired/deprecated dependencies with current alternatives, and updates the documentation and README to match.

Breaking changes

  • mlr → mlr3/mlr3learners: Learner IDs have changed — classif.logregclassif.log_reg, classif.randomForestclassif.ranger, classif.naiveBayesclassif.naive_bayes. benchmark_sdm() now returns an mlr3 BenchmarkResult object; use bmr$score() / bmr$aggregate() instead of mlr::getBMRPerformances().
  • raster/sp → terra: All spatial operations now use terra. get_benchmarking_data() returns a SpatRaster instead of RasterBrick.

Removed dependencies

  • scrubr (archived on CRAN) — replaced by CoordinateCleaner
  • rgdal (retired) — replaced by terra
  • maptools (retired) — replaced by terra
  • sp — replaced by terra

Other changes

  • geodata::worldclim_global() replaces raster::getData("worldclim") for current climate data
  • terra::vect / terra::spatSample replace sp::SpatialPoints / dismo::randomPoints
  • Fixed deprecated keras::predict_classes / predict_probapredict()
  • Updated ENMeval API to 2.0 (occs/bg/envs params, partitions arg, auc.val.avg column)
  • partition_data() checkerboard methods refactored to remove duplicated code
  • Improved roxygen documentation: PR-AUC vs ROC-AUC clarified, parameter types and cross-references added throughout
  • README updated: all examples use mlr3 API, custom data format corrected, retired package references removed

Files

boyanangelov/sdmbench-v0.2.0.zip

Files (347.1 kB)

Name Size Download all
md5:855d14d0b8d42fcc87e25f46950c1381
347.1 kB Preview Download

Additional details

Related works