- using R version 4.6.1 (2026-06-24)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
* current time: 2026-11-17 08:24:44 UTC
- checking for file ‘bifactory/DESCRIPTION’ ... OK
- this is package ‘bifactory’ version ‘0.6.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 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 ‘bifactory’ can be installed ... [9s/29s] 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/2s] OK
- checking whether the package can be unloaded cleanly ... [0s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/2s] OK
- checking loading without being on the library search path ... [0s/2s] 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 ... [15s/56s] OK
- checking Rd files ... [1s/2s] 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/9s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [28s/103s] ERROR
Running ‘testthat.R’ [27s/102s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(bifactory)
>
> test_check("bifactory")
Note: ordered = TRUE detected.
CFA (R) -> WLSMV with polychoric correlations
ESEM (R) -> efa() block + WLSMV + target rotation
BESEM (R) -> Bifactor WLSMV (bifactory custom polychoric + orthogonal target rotation)
All Mplus -> WLSMV with CATEGORICAL block
All models use WLSMV consistently.
Missing -> "pairwise" (all available pairs per polychoric; 301/301 complete, 0 with >=1 NA)
Multi-group model: group = 'school' (2 groups: Grant-White, Pasteur)
Saving _problems/test-fit_retry-117.R
======================================================
esem -- Standardized Parameters (STDYX)
======================================================
X2(12)=23.864 CFI=0.986 TLI=0.958 RMSEA=0.057 SRMR=0.016
Factor Item Std.Est SE z p
---------- ------------ ------- ----- ------ ------
F1 x1 0.611 0.083 7.39 <.001 ***
x2 0.534 0.092 5.81 <.001 ***
x3 0.705 0.078 9.00 <.001 ***
x4 0.009 0.010 0.94 0.3478
x5 -0.083 0.089 -0.93 0.3512
x6 0.069 0.079 0.87 0.3848
x7 -0.255 0.134 -1.90 0.0576 .
x8 0.011 0.009 1.25 0.2128
x9 0.312 0.076 4.12 <.001 ***
F2 x1 0.170 0.085 2.00 0.0450 *
x2 0.033 0.083 0.40 0.6899
x3 -0.094 0.095 -0.99 0.3205
x4 0.844 0.033 25.86 <.001 ***
x5 0.895 0.045 20.07 <.001 ***
x6 0.810 0.041 19.56 <.001 ***
x7 0.010 0.011 0.94 0.3473
x8 -0.074 0.066 -1.12 0.2607
x9 -0.002 0.010 -0.22 0.8233
F3 x1 0.012 0.048 0.26 0.7965
x2 -0.141 0.079 -1.78 0.0744 .
x3 0.002 0.039 0.04 0.9685
x4 0.004 0.055 0.07 0.9472
x5 0.009 0.030 0.30 0.7625
x6 -0.015 0.036 -0.43 0.6660
x7 0.775 0.131 5.93 <.001 ***
x8 0.744 0.076 9.80 <.001 ***
x9 0.481 0.061 7.92 <.001 ***
======================================================
esem -- Standardized Parameters (STDYX)
======================================================
X2(12)=23.864 CFI=0.986 TLI=0.958 RMSEA=0.057 SRMR=0.016
Factor Item Std.Est SE z p
---------- ------------ ------- ----- ------ ------
F1 x1 0.611 0.083 7.39 <.001 ***
x2 0.534 0.092 5.81 <.001 ***
x3 0.705 0.078 9.00 <.001 ***
x4 0.009 0.010 0.94 0.3478
x5 -0.083 0.089 -0.93 0.3512
x6 0.069 0.079 0.87 0.3848
x7 -0.255 0.134 -1.90 0.0576 .
x8 0.011 0.009 1.25 0.2128
x9 0.312 0.076 4.12 <.001 ***
F2 x1 0.170 0.085 2.00 0.0450 *
x2 0.033 0.083 0.40 0.6899
x3 -0.094 0.095 -0.99 0.3205
x4 0.844 0.033 25.86 <.001 ***
x5 0.895 0.045 20.07 <.001 ***
x6 0.810 0.041 19.56 <.001 ***
x7 0.010 0.011 0.94 0.3473
x8 -0.074 0.066 -1.12 0.2607
x9 -0.002 0.010 -0.22 0.8233
F3 x1 0.012 0.048 0.26 0.7965
x2 -0.141 0.079 -1.78 0.0744 .
x3 0.002 0.039 0.04 0.9685
x4 0.004 0.055 0.07 0.9472
x5 0.009 0.030 0.30 0.7625
x6 -0.015 0.036 -0.43 0.6660
x7 0.775 0.131 5.93 <.001 ***
x8 0.744 0.076 9.80 <.001 ***
x9 0.481 0.061 7.92 <.001 ***
[ FAIL 1 | WARN 0 | SKIP 21 | PASS 151 ]
══ Skipped tests (21) ══════════════════════════════════════════════════════════
• On CRAN (21): 'test-align_loadings.R:31:3', 'test-compare.R:5:1',
'test-console_colour.R:11:3', 'test-dwls_communalities.R:27:3',
'test-dwls_communalities.R:44:3', 'test-ewc.R:6:1', 'test-inv_notes.R:20:3',
'test-inv_notes.R:108:3', 'test-invariance.R:6:1', 'test-mg_rotation.R:94:3',
'test-parallel_starts.R:9:3', 'test-parallel_starts.R:22:3',
'test-parallel_starts.R:45:3', 'test-partial_invariance.R:7:1',
'test-polychoric_source.R:9:1', 'test-reliability.R:27:3',
'test-reliability.R:41:3', 'test-reliability.R:53:3',
'test-reliability.R:74:3', 'test-reliability.R:83:3', 'test-srmr.R:7:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-fit_retry.R:117:3'): ordered configural fit starts from the per-group optima and is never shallower ──
Expected `all(lf@optim$fx.group <= attr(x0, "fx") + 1e-08)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 1 | WARN 0 | SKIP 21 | PASS 151 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [10s/32s] OK
- DONE
Status: 1 ERROR