* using log directory 'd:/Rcompile/CRANpkg/local/4.4/important.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'important/DESCRIPTION' ... OK * this is package 'important' version '0.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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'important' can be installed ... OK * 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 ... [5s] OK * checking whether the package can be loaded with stated dependencies ... [5s] OK * checking whether the package can be unloaded cleanly ... [5s] OK * checking whether the namespace can be loaded with stated dependencies ... [4s] OK * checking whether the namespace can be unloaded cleanly ... [5s] OK * checking loading without being on the library search path ... [5s] 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 ... [13s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [17s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [55s] ERROR Running 'spelling.R' [1s] Running 'testthat.R' [54s] 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 `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 `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 `expected` is a list [ FAIL 3 | WARN 0 | SKIP 24 | PASS 226 ] Error: Test failures Execution halted * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 1 ERROR