- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 16.0.0 (clang-1600.0.26.6)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘ordered/DESCRIPTION’ ... OK
- this is package ‘ordered’ 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 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 ‘ordered’ can be installed ... [3s/4s] 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/1s] 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 ... [3s/3s] OK
- checking Rd files ... [0s/0s] 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 ... [6s/7s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [32s/28s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [31s/28s]
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(ordered)
Loading required package: parsnip
>
> test_check("ordered")
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
Loading required package: MASS
Attaching package: 'MASS'
The following object is masked from 'package:dplyr':
select
Saving _problems/test-ordinal_reg-ordinalNet-197.R
[ FAIL 1 | WARN 0 | SKIP 33 | PASS 578 ]
══ Skipped tests (33) ══════════════════════════════════════════════════════════
• On CRAN (33): 'test-decision_tree-rpartScore.R:91:1',
'test-decision_tree-rpartScore.R:123:1',
'test-gen_additive_mod-VGAM.R:195:1', 'test-gen_additive_mod-VGAM.R:228:1',
'test-ordinal_reg-VGAM.R:191:1', 'test-ordinal_reg-VGAM.R:223:1',
'test-ordinal_reg-VGAM.R:300:1', 'test-ordinal_reg-VGAM.R:334:1',
'test-ordinal_reg-clm-wrapper.R:61:1', 'test-ordinal_reg-clm.R:5:1',
'test-ordinal_reg-clm.R:159:1', 'test-ordinal_reg-clm.R:193:1',
'test-ordinal_reg-glmnetcr.R:425:1', 'test-ordinal_reg-glmnetcr.R:458:1',
'test-ordinal_reg-ordinalNet.R:404:1', 'test-ordinal_reg-ordinalNet.R:432:1',
'test-ordinal_reg-ordinalNet.R:518:1', 'test-ordinal_reg-polr.R:119:1',
'test-ordinal_reg-polr.R:153:1', 'test-ordinal_reg-rms.R:166:1',
'test-ordinal_reg-rms.R:350:1', 'test-ordinal_reg-rms.R:378:1',
'test-ordinal_reg-rms.R:408:1', 'test-ordinal_reg-rms.R:431:1',
'test-ordinal_reg.R:4:1', 'test-ordinal_reg.R:12:1',
'test-ordinal_reg.R:35:1', 'test-rand_forest-ordinalForest.R:181:1',
'test-rand_forest-ordinalForest.R:212:1',
'test-rand_forest-ordinalForest.R:242:1', 'test-rand_forest-orf.R:102:1',
'test-rand_forest-orf.R:144:1', 'test-rand_forest-orf.R:172:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-ordinal_reg-ordinalNet.R:194:3'): case weights ───────────────
Expected `orig_fit` to equal `tidy_fit$fit`.
Differences:
`actual$nNonzero[1:4]`: 2 3 3 3
`expected$nNonzero[1:4]`: 3 3 3 3
`actual$aic[1:4]`: 3652.9 3648.4 3642.4 3636.8
`expected$aic[1:4]`: 3654.9 3648.4 3642.4 3636.8
`actual$bic[1:4]`: 3663.7 3664.6 3658.6 3653.1
`expected$bic[1:4]`: 3671.2 3664.6 3658.6 3653.1
[ FAIL 1 | WARN 0 | SKIP 33 | PASS 578 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/3s] OK
- DONE
Status: 1 ERROR