- using R Under development (unstable) (2025-11-24 r89059)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-7) 15.2.0
GNU Fortran (Debian 15.2.0-7) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘CAST/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘CAST’ version ‘1.0.3’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- checking package namespace information ... OK
- checking package dependencies ... INFO
Packages suggested but not available for checking: 'mapview', 'tmap'
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘CAST’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [3s/5s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the package can be unloaded cleanly ... [3s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/4s] OK
- checking loading without being on the library search path ... [4s/6s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [20s/26s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [9s/12s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [102s/124s] OK
Running ‘testthat.R’ [102s/124s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [175s/233s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘cast01-CAST-intro.Rmd’ using rmarkdown
CAST package:CAST R Documentation
'_ c_ a_ r_ e_ t' _ A_ p_ p_ l_ i_ c_ a_ t_ i_ o_ n_ s _ f_ o_ r _ S_ p_ a_ t_ i_ a_ l-_ T_ e_ m_ p_ o_ r_ a_ l _ M_ o_ d_ e_ l_ s
_ D_ e_ s_ c_ r_ i_ p_ t_ i_ o_ n:
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-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 by analysing the similarity
between new data and training data. 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.
(2023). The package is described in detail in Meyer et al. (2024).
_ D_ e_ t_ a_ i_ l_ s:
'caret' Applications for Spatio-Temporal models
_ A_ u_ t_ h_ o_ r(_ s):
Hanna Meyer, Carles Milà, Marvin Ludwig, Jan Linnenbrink, Fabian
Schumacher
_ R_ e_ f_ e_ r_ e_ n_ c_ e_ s:
• Meyer, H., Ludwig, L., Milà, C., Linnenbrink, J., Schumacher,
F. (2024): The CAST package for training and assessment of
spatial prediction models in R. arXiv,
https://doi.org/10.48550/arXiv.2404.06978.
• Linnenbrink, J., Milà, C., Ludwig, M., and Meyer, H.: kNNDM:
k-fold Nearest Neighbour Distance Matching Cross-Validation
for map accuracy estimation, EGUsphere [preprint],
https://doi.org/10.5194/egusphere-2023-1308, 2023.
• Milà, C., Mateu, J., Pebesma, E., Meyer, H. (2022): Nearest
Neighbour Distance Matching Leave-One-Out Cross-Validation
for map validation. Methods in Ecology and Evolution 00, 1–
13.
• Meyer, H., Pebesma, E. (2022): Machine learning-based global
maps of ecological variables and the challenge of assessing
them. Nature Communications. 13.
• Meyer, H., Pebesma, E. (2021): Predicting into unknown space?
Estimating the area of applicability of spatial prediction
models. Methods in Ecology and Evolution. 12, 1620– 1633.
• Meyer, H., Reudenbach, C., Wöllauer, S., Nauss, T. (2019):
Importance of spatial predictor variable selection in machine
learning applications - Moving from data reproduction to
spatial prediction. Ecological Modelling. 411, 108815.
• Meyer, H., Reudenbach, C., Hengl, T., Katurji, M., Nauß, T.
(2018): Improving performance of spatio-temporal machine
learning models using forward feature selection and
target-oriented validation. Environmental Modelling &
Software 101: 1-9.
_ S_ e_ e _ A_ l_ s_ o:
Useful links:
• <https://github.com/HannaMeyer/CAST>
• <https://hannameyer.github.io/CAST/>
• Report bugs at <https://github.com/HannaMeyer/CAST/issues/>
Quitting from cast01-CAST-intro.Rmd:51-57 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `library()`:
! there is no package called 'tmap'
---
Backtrace:
▆
1. └─base::library(tmap)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'cast01-CAST-intro.Rmd' failed with diagnostics:
there is no package called 'tmap'
--- failed re-building ‘cast01-CAST-intro.Rmd’
--- re-building ‘cast02-plotgeodist.Rmd’ using rmarkdown
trying URL 'https://geodata.ucdavis.edu/climate/worldclim/2_1/base/wc2.1_10m_bio.zip'
Content type 'application/zip' length 49869449 bytes (47.6 MB)
==================================================
downloaded 47.6 MB
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘cast02-plotgeodist.Rmd’
--- re-building ‘cast03-CV.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘cast03-CV.Rmd’
--- re-building ‘cast04-AOA-tutorial.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘cast04-AOA-tutorial.Rmd’
--- re-building ‘cast05-parallel.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘cast05-parallel.Rmd’
SUMMARY: processing the following file failed:
‘cast01-CAST-intro.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR