* using log directory ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.5/bifactory.Rcheck’ * using R version 4.5.2 Patched (2026-01-31 r89382) * 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 * checking for file ‘bifactory/DESCRIPTION’ ... OK * this is package ‘bifactory’ version ‘0.6.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 ‘bifactory’ can be installed ... [8s/10s] OK See 'https://www.r-project.org/nosvn/R.check/r-oldrel-macos-x86_64/bifactory-00install.html' 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/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/1s] OK * checking loading without being on the library search path ... [0s/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 ... [14s/19s] OK * checking Rd files ... [1s/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/4s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [23s/28s] ERROR Running ‘testthat.R’ [23s/27s] 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-85.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.082 7.48 <.001 *** x2 0.534 0.092 5.83 <.001 *** x3 0.705 0.079 8.88 <.001 *** x4 0.009 0.009 0.98 0.3291 x5 -0.083 0.090 -0.93 0.3530 x6 0.069 0.079 0.87 0.3835 x7 -0.255 0.136 -1.88 0.0597 . x8 0.011 0.008 1.39 0.1649 x9 0.312 0.076 4.13 <.001 *** F2 x1 0.170 0.085 2.00 0.0458 * x2 0.033 0.083 0.40 0.6899 x3 -0.094 0.096 -0.99 0.3235 x4 0.844 0.032 26.04 <.001 *** x5 0.895 0.045 19.97 <.001 *** x6 0.810 0.041 19.66 <.001 *** x7 0.010 0.012 0.87 0.3865 x8 -0.074 0.066 -1.12 0.2613 x9 -0.002 0.008 -0.29 0.7727 F3 x1 0.012 0.044 0.28 0.7780 x2 -0.141 0.079 -1.79 0.0729 . x3 0.002 0.044 0.04 0.9719 x4 0.004 0.054 0.07 0.9465 x5 0.009 0.031 0.29 0.7731 x6 -0.015 0.035 -0.44 0.6603 x7 0.775 0.130 5.96 <.001 *** x8 0.744 0.076 9.83 <.001 *** x9 0.481 0.060 8.00 <.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.082 7.48 <.001 *** x2 0.534 0.092 5.83 <.001 *** x3 0.705 0.079 8.88 <.001 *** x4 0.009 0.009 0.98 0.3291 x5 -0.083 0.090 -0.93 0.3530 x6 0.069 0.079 0.87 0.3835 x7 -0.255 0.136 -1.88 0.0597 . x8 0.011 0.008 1.39 0.1649 x9 0.312 0.076 4.13 <.001 *** F2 x1 0.170 0.085 2.00 0.0458 * x2 0.033 0.083 0.40 0.6899 x3 -0.094 0.096 -0.99 0.3235 x4 0.844 0.032 26.04 <.001 *** x5 0.895 0.045 19.97 <.001 *** x6 0.810 0.041 19.66 <.001 *** x7 0.010 0.012 0.87 0.3865 x8 -0.074 0.066 -1.12 0.2613 x9 -0.002 0.008 -0.29 0.7727 F3 x1 0.012 0.044 0.28 0.7780 x2 -0.141 0.079 -1.79 0.0729 . x3 0.002 0.044 0.04 0.9719 x4 0.004 0.054 0.07 0.9465 x5 0.009 0.031 0.29 0.7731 x6 -0.015 0.035 -0.44 0.6603 x7 0.775 0.130 5.96 <.001 *** x8 0.744 0.076 9.83 <.001 *** x9 0.481 0.060 8.00 <.001 *** [ FAIL 1 | WARN 0 | SKIP 17 | PASS 96 ] ══ Skipped tests (17) ══════════════════════════════════════════════════════════ • On CRAN (17): 'test-align_loadings.R:31:3', 'test-compare.R:5:1', 'test-console_colour.R:11:3', 'test-ewc.R:6:1', 'test-inv_notes.R:20:3', 'test-inv_notes.R:108:3', 'test-invariance.R:6:1', 'test-parallel_starts.R:9:3', 'test-parallel_starts.R:22:3', 'test-parallel_starts.R:42:3', 'test-partial_invariance.R:7: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:85: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 17 | PASS 96 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [9s/13s] OK * DONE Status: 1 ERROR * DONE * Status: FAILURE * using check arguments '--no-clean-on-error ' * elapsed time (check, wall clock): 1:45 * result classification: failed check, errors:yes, warnings:no, notes:no