- using R Under development (unstable) (2025-02-15 r87725)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 19.1.7
flang-new version 19.1.7
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘finetune/DESCRIPTION’ ... OK
- this is package ‘finetune’ version ‘1.2.0’
- package encoding: UTF-8
- 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 ‘finetune’ can be installed ... [28s/78s] OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [7s/20s] OK
- checking whether the package can be loaded with stated dependencies ... [6s/18s] OK
- checking whether the package can be unloaded cleanly ... [6s/18s] OK
- checking whether the namespace can be loaded with stated dependencies ... [6s/21s] OK
- checking whether the namespace can be unloaded cleanly ... [7s/24s] OK
- checking loading without being on the library search path ... [7s/22s] OK
- checking whether startup messages can be suppressed ... [7s/28s] 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 ... [40s/106s] OK
- checking Rd files ... 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 examples ... [8s/27s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [100s/241s] ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [99s/237s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
>
> suppressPackageStartupMessages(library(finetune))
>
> # CRAN wants packages to be able to be check without the Suggests dependencies
> if (rlang::is_installed(c("modeldata", "lme4", "testthat"))) {
+ suppressPackageStartupMessages(library(testthat))
+ test_check("finetune")
+ }
[ FAIL 7 | WARN 2 | SKIP 21 | PASS 148 ]
══ Skipped tests (21) ══════════════════════════════════════════════════════════
• On CRAN (21): 'test-anova-filter.R:132:3', 'test-anova-overall.R:3:3',
'test-anova-overall.R:25:3', 'test-anova-overall.R:44:3',
'test-anova-overall.R:69:3', 'test-race-control.R:17:3',
'test-race-control.R:38:3', 'test-sa-control.R:19:3',
'test-sa-control.R:48:3', 'test-sa-misc.R:5:3', 'test-sa-overall.R:2:3',
'test-sa-overall.R:21:3', 'test-sa-overall.R:42:3', 'test-sa-overall.R:92:3',
'test-sa-overall.R:131:3', 'test-sa-overall.R:186:3',
'test-win-loss-filter.R:2:3', 'test-win-loss-overall.R:3:3',
'test-win-loss-overall.R:22:3', 'test-win-loss-overall.R:39:3',
'test-win-loss-overall.R:56:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-anova-filter.R:50:3'): anova filtering and logging ───────────
anova_res$lower (`actual`) not equal to unname(rmse_ci[, 1]) (`expected`).
`actual`: -0.89 -0.82 -0.77 -0.76 -0.76 -0.73 -0.60
`expected`: -0.24 -0.16 -0.12 -0.11 -0.11 -0.08 0.06
── Failure ('test-anova-filter.R:51:3'): anova filtering and logging ───────────
anova_res$upper (`actual`) not equal to unname(rmse_ci[, 2]) (`expected`).
`actual`: 0.91 0.99 1.03 1.04 1.04 1.08 1.21
`expected`: 0.26 0.34 0.38 0.39 0.39 0.42 0.56
── Failure ('test-race-s3.R:33:3'): racing S3 methods ──────────────────────────
nrow(collect_metrics(anova_race)) (`actual`) not equal to 2 (`expected`).
`actual`: 6.0
`expected`: 2.0
── Failure ('test-race-s3.R:35:3'): racing S3 methods ──────────────────────────
nrow(collect_metrics(anova_race, summarize = FALSE)) (`actual`) not equal to 2 * 20 (`expected`).
`actual`: 120.0
`expected`: 40.0
── Failure ('test-race-s3.R:44:3'): racing S3 methods ──────────────────────────
nrow(collect_predictions(anova_race, all_configs = FALSE, summarize = TRUE)) (`actual`) not equal to nrow(mtcars) * 1 (`expected`).
`actual`: 96.0
`expected`: 32.0
── Failure ('test-race-s3.R:52:3'): racing S3 methods ──────────────────────────
nrow(collect_predictions(anova_race, all_configs = FALSE, summarize = FALSE)) (`actual`) not equal to nrow(mtcars) * 1 * 2 (`expected`).
`actual`: 192.0
`expected`: 64.0
── Failure ('test-race-s3.R:64:3'): racing S3 methods ──────────────────────────
nrow(show_best(anova_race, metric = "rmse")) (`actual`) not equal to 1 (`expected`).
`actual`: 3.0
`expected`: 1.0
[ FAIL 7 | WARN 2 | SKIP 21 | PASS 148 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [10s/24s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR