- using R Under development (unstable) (2025-09-10 r88809)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3+b2)
Debian flang-new version 19.1.7 (3+b2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘important/DESCRIPTION’ ... OK
- this is package ‘important’ version ‘0.2.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- 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 ‘important’ can be installed ... OK
See the install log for details.
- 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 ... [5s/6s] OK
- checking whether the package can be loaded with stated dependencies ... [4s/5s] OK
- checking whether the package can be unloaded cleanly ... [4s/5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s/5s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/6s] 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 ... [22s/36s] 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 examples ... [13s/17s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [46s/57s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [46s/57s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(important)
Loading required package: recipes
Loading required package: dplyr
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Attaching package: 'recipes'
The following object is masked from 'package:stats':
step
>
> test_check("important")
Attaching package: 'future'
The following object is masked from 'package:survival':
cluster
[ FAIL 3 | WARN 0 | SKIP 24 | PASS 226 ]
══ Skipped tests (24) ══════════════════════════════════════════════════════════
• On CRAN (24): 'test-extract_data.R:117:3', 'test-extract_data.R:246:3',
'test-importance_perm.R:662:3', 'test-parallel_utils.R:8:2',
'test-parallel_utils.R:22:2', 'test-parallel_utils.R:55:2',
'test-parallel_utils.R:86:2', 'test-parallel_utils.R:109:2',
'test-parallel_utils.R:135:2', 'test-recipes_utils.R:28:2',
'test-step_predictor_best.R:109:3', 'test-step_predictor_best.R:121:3',
'test-step_predictor_best.R:142:3', 'test-step_predictor_best.R:180:3',
'test-step_predictor_best.R:200:3',
'test-step_predictor_desirability.R:111:3',
'test-step_predictor_desirability.R:189:3',
'test-step_predictor_desirability.R:210:3',
'test-step_predictor_desirability.R:221:3',
'test-step_predictor_desirability.R:242:3',
'test-step_predictor_retain.R:133:3', 'test-step_predictor_retain.R:155:3',
'test-step_predictor_retain.R:200:3', 'test-step_predictor_retain.R:205:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-plots.R:31:3'): autoplot - classification ────────────────────
p1$labels (`actual`) not equal to list(y = NULL, x = "Permutation Importance Score", xintercept = "xintercept") (`expected`).
`actual` is an S7 object of class <ggplot2::labels>
`expected` is a list
── Failure ('test-plots.R:62:3'): autoplot - classification ────────────────────
p2$labels (`actual`) not equal to list(...) (`expected`).
`actual` is an S7 object of class <ggplot2::labels>
`expected` is a list
── Failure ('test-plots.R:114:3'): autoplot - classification ───────────────────
p3$labels (`actual`) not equal to list(y = NULL, x = "Permutation Importance Score", xintercept = "xintercept") (`expected`).
`actual` is an S7 object of class <ggplot2::labels>
`expected` is a list
[ FAIL 3 | WARN 0 | SKIP 24 | PASS 226 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR