* using log directory ‘/srv/hornik/tmp/CRAN_pretest/RStoolbox.Rcheck’ * using R Under development (unstable) (2025-10-01 r88895) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3+b1) Debian flang-new version 19.1.7 (3+b1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘RStoolbox/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘RStoolbox’ version ‘1.0.2.2’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/10s] NOTE Maintainer: ‘Konstantin Mueller ’ The Date field is over a month old. * checking package namespace information ... OK * checking package dependencies ... OK * 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 ‘RStoolbox’ can be installed ... [52s/52s] OK * used C compiler: ‘Debian clang version 19.1.7 (3+b2)’ * used C++ compiler: ‘Debian clang version 19.1.7 (3+b2)’ * checking package directory ... OK * checking for future file timestamps ... 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 ... [6s/6s] OK * checking whether the package can be loaded with stated dependencies ... [6s/6s] OK * checking whether the package can be unloaded cleanly ... [6s/6s] OK * checking whether the namespace can be loaded with stated dependencies ... [6s/6s] OK * checking whether the namespace can be unloaded cleanly ... [6s/6s] OK * checking loading without being on the library search path ... [6s/6s] OK * checking whether startup messages can be suppressed ... [6s/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 ... [30s/30s] OK * checking Rd files ... [0s/0s] 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 R/sysdata.rda ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... [34s/34s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [49s/49s] ERROR Running ‘testthat.R’ [49s/49s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(RStoolbox) This is version 1.0.2.2 of RStoolbox > > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144 > > test_check("RStoolbox") Something is wrong; all the Accuracy metric values are missing: Accuracy Kappa Min. : NA Min. : NA 1st Qu.: NA 1st Qu.: NA Median : NA Median : NA Mean :NaN Mean :NaN 3rd Qu.: NA 3rd Qu.: NA Max. : NA Max. : NA NA's :1 NA's :1 [ FAIL 1 | WARN 0 | SKIP 15 | PASS 530 ] ══ Skipped tests (15) ══════════════════════════════════════════════════════════ • On CRAN (15): 'test-multicore.R:6:5', 'test-multicore.R:24:5', 'test-rasterCVA.R:15:2', 'test-rasterCVA.R:22:4', 'test-readEE.R:7:5', 'test-rescaleImage.R:13:13', 'test-rescaleImage.R:21:5', 'test-sli.R:33:5', 'test-superClass.R:114:17', 'test-topCor.R:15:7', 'test-unsuperClass.R:46:5', 'test-unsuperClass.R:53:13', 'test-unsuperClass.R:66:5', 'test-validateMap.R:20:13', 'test-validateMap.R:29:13' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-superClass.R:182:3'): sampling option ────────────────────────── Error: Stopping Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-superClass.R:182:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─RStoolbox::superClass(...) 7. ├─caret::train(...) 8. └─caret:::train.formula(...) 9. ├─caret::train(x, y, weights = w, ...) 10. └─caret:::train.default(x, y, weights = w, ...) [ FAIL 1 | WARN 0 | SKIP 15 | PASS 530 ] Error: Test failures Execution halted * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE