R Under development (unstable) (2025-10-01 r88895 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > 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