Package: CAST Type: Package Title: 'caret' Applications for Spatial-Temporal Models Version: 1.2.0 Authors@R: c(person("Hanna", "Meyer", email = "hanna.meyer@uni-muenster.de", role = c("cre", "aut")), person("Carles", "Milà", role = c("aut")), person("Marvin", "Ludwig", role = c("aut")), person("Jan", "Linnenbrink", role = c("aut")), person("Fabian", "Schumacher", role = c("aut")), person("Darius", "Görgen", role = c("aut")), person("Jakub", "Nowosad", role = c("aut")), person("Philipp", "Otto", role = c("ctb")), person("Chris", "Reudenbach", role = c("ctb")), person("Thomas", "Nauss", role = c("ctb")), person("Edzer", "Pebesma", role = c("ctb"))) Description: Supporting functionality to run 'caret' with spatial or spatial-temporal data. 'caret' is a frequently used package for model training and prediction using machine learning. CAST includes functions to improve spatial or spatial-temporal modelling tasks using 'caret'. It includes the newly suggested 'Nearest neighbor distance matching' cross-validation to estimate the performance of spatial prediction models and allows for spatial variable selection to selects suitable predictor variables in view to their contribution to the spatial model performance. CAST further includes functionality to estimate the (spatial) area of applicability of prediction models. Methods are described in Meyer et al. (2018) ; Meyer et al. (2019) ; Meyer and Pebesma (2021) ; Milà et al. (2022) ; Meyer and Pebesma (2022) ; Linnenbrink et al. (2024) ; Schumacher et al. (2025) . The package is described in detail in Meyer et al. (2026) . License: GPL (>= 2) URL: https://github.com/HannaMeyer/CAST, https://hannameyer.github.io/CAST/ Encoding: UTF-8 LazyData: false Depends: R (>= 4.1.0) BugReports: https://github.com/HannaMeyer/CAST/issues/ Imports: caret, data.table, ggplot2, graphics, grDevices, methods, sf, stats, twosamples, terra, utils, zoo, FNN, philentropy Suggests: clustMixType, doParallel, geodata, gower, gridExtra, knitr, lubridate, MASS, PCAmixdata, randomForest, rmarkdown, rnaturalearth, scales, scam, stars, testthat (>= 3.0.0), tmap VignetteBuilder: knitr Config/testthat/edition: 3 Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev libicu-dev libssl-dev libproj-dev libsqlite3-dev libudunits2-dev Repository: https://hannameyer.r-universe.dev Date/Publication: 2026-09-24 14:31:57 UTC RemoteUrl: https://github.com/hannameyer/cast RemoteRef: HEAD RemoteSha: 779e13f7be234e5597168dae98840fbcc1c10e4f NeedsCompilation: no Packaged: 2026-09-24 15:41:09 UTC; root Author: Hanna Meyer [cre, aut], Carles Milà [aut], Marvin Ludwig [aut], Jan Linnenbrink [aut], Fabian Schumacher [aut], Darius Görgen [aut], Jakub Nowosad [aut], Philipp Otto [ctb], Chris Reudenbach [ctb], Thomas Nauss [ctb], Edzer Pebesma [ctb] Maintainer: Hanna Meyer