- 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 'rules/DESCRIPTION' ... OK
- this is package 'rules' version '1.0.2'
- 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 'rules' can be installed ... 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 ... [3s] OK
- checking whether the package can be loaded with stated dependencies ... [3s] OK
- checking whether the package can be unloaded cleanly ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s] OK
- checking whether the namespace can be unloaded cleanly ... [3s] OK
- checking loading without being on the library search path ... [3s] OK
- checking whether startup messages can be suppressed ... [3s] 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 ... [10s] 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 ... [3s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [18s] ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rules)
Loading required package: parsnip
>
> test_check("rules")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Saving _problems/test-rule-fit-regression-191.R
Saving _problems/test-rule-fit-regression-192.R
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
══ Skipped tests (34) ══════════════════════════════════════════════════════════
• On CRAN (34): 'test-c5.R:4:3', 'test-c5.R:43:3', 'test-c5.R:87:3',
'test-c5.R:127:3', 'test-c5.R:167:3', 'test-c5.R:213:3', 'test-c5.R:255:3',
'test-c5.R:282:3', 'test-c5.R:362:3', 'test-cubist.R:4:3',
'test-cubist.R:79:3', 'test-cubist.R:137:3', 'test-cubist.R:180:3',
'test-cubist.R:218:3', 'test-cubist.R:257:3', 'test-cubist.R:295:3',
'test-cubist.R:356:3', 'test-cubist.R:403:3', 'test-cubist.R:445:3',
'test-cubist.R:484:3', 'test-cubist.R:531:3', 'test-cubist.R:584:3',
'test-cubist.R:617:3', 'test-rule-fit-binomial.R:6:3',
'test-rule-fit-binomial.R:91:3', 'test-rule-fit-binomial.R:177:3',
'test-rule-fit-multinomial.R:6:3', 'test-rule-fit-multinomial.R:94:3',
'test-rule-fit-multinomial.R:181:3', 'test-rule-fit-regression.R:6:3',
'test-rule-fit-regression.R:62:3', 'test-rule-fit-regression.R:118:3',
'test-rule-fit-regression.R:160:1', 'test-rule-fit-regression.R:211:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-rule-fit-regression.R:191:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_2$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-rule-fit-regression.R:192:3'): early stopping works in xrf_fit ──
Expected `!is.null(rf_fit_3$fit$xgb$best_iteration)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 2 | WARN 0 | SKIP 34 | PASS 27 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [22s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 1 ERROR