Running ‘testthat.R’ [121s/155s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(EFAtools)
  > 
  > test_check("EFAtools")
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is a correlation matrix; factor scores cannot be computed. Only factor weights and score diagnostics are returned. Enter raw data to get factor scores.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  Loading required namespace: GPArotation
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  
  -- EFA power simulation --------------------------------------------------------
  
  18 variables · 3 factors · N = 6 · 3 datasets
  Estimation: PAF · rotation: varimax
  Model error: none. The population is exact, so the hit-rate and recovery are
  optimistic; set `target_rmsea` for realism.
  
  Retention hit-rate P(k-hat = 3)
  No criterion produced a suggestion on any replicate.
  
  Structure recovery (Tucker congruence ≥ .950)
  * min congruence: NA (n = 0)
  * mean congruence: NA (n = 0)
  
  Convergence
  * fits completed: .000 (0/3)
  * converged (of completed): NA
  * Heywood cases (of completed): NA
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  Saving _problems/test-polychoric-256.R
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  [ FAIL 1 | WARN 0 | SKIP 254 | PASS 4099 ]
  
  ══ Skipped tests (254) ═════════════════════════════════════════════════════════
  • On CRAN (203): 'test-BARTLETT.R:26:3', 'test-BARTLETT.R:109:1',
    'test-COMPARE.R:358:1', 'test-EFA-boot.R:14:3', 'test-EFA-boot.R:48:3',
    'test-EFA-boot.R:118:3', 'test-EFA-boot.R:134:3', 'test-EFA-boot.R:305:3',
    'test-EFA-boot.R:319:3', 'test-EFA-boot.R:419:3', 'test-EFA-boot.R:503:3',
    'test-EFA-boot.R:535:3', 'test-EFA-fields.R:78:3', 'test-EFA-fields.R:118:3',
    'test-EFA-fiml.R:47:3', 'test-EFA-fiml.R:64:3', 'test-EFA-fiml.R:89:3',
    'test-EFA-fiml.R:106:3', 'test-EFA-fiml.R:120:3', 'test-EFA-fiml.R:145:3',
    'test-EFA-fiml.R:177:3', 'test-EFA-fiml.R:195:3', 'test-EFA-fiml.R:222:3',
    'test-EFA-fiml.R:244:3', 'test-EFA-fiml.R:262:3', 'test-EFA-fiml.R:341:3',
    'test-EFA-fiml.R:365:3', 'test-EFA-fiml.R:381:3', 'test-EFA-fiml.R:408:3',
    'test-EFA-fiml.R:435:3', 'test-EFA-fiml.R:449:3', 'test-EFA-fiml.R:475:3',
    'test-EFA-fiml.R:498:3', 'test-EFA-fiml.R:513:3', 'test-EFA-fiml.R:545:3',
    'test-EFA-fiml.R:580:3', 'test-EFA-fiml.R:599:3', 'test-EFA-fiml.R:633:3',
    'test-EFA-vcov-slot.R:68:3', 'test-EFA-vcov-slot.R:263:3',
    'test-EFA-vcov-slot.R:329:3', 'test-EFA-vcov-slot.R:359:3',
    'test-EFA.R:377:1', 'test-EFA.R:383:1', 'test-EFA.R:404:1',
    'test-EFA.R:410:1', 'test-EFA.R:452:1', 'test-EFA_AVERAGE-fiml.R:25:3',
    'test-EFA_AVERAGE-fiml.R:56:3', 'test-EFA_AVERAGE.R:577:3',
    'test-EFA_AVERAGE.R:615:3', 'test-EFA_POOLED-cfi-scale.R:73:3',
    'test-EFA_POOLED-k1-oblique.R:59:3', 'test-EFA_POOLED-k1-oblique.R:80:3',
    'test-EFA_POOLED-mi2s.R:136:3', 'test-EFA_POOLED-mi2s.R:352:3',
    'test-EFA_POOLED-routing.R:90:3', 'test-EFA_POOLED-routing.R:112:3',
    'test-EFA_POOLED-routing.R:250:3', 'test-EFA_POOLED-routing.R:280:3',
    'test-EFA_POOLED-rubin-rotated.R:222:3',
    'test-EFA_POOLED-rubin-unrot.R:117:3', 'test-EFA_POOLED.R:268:3',
    'test-EFA_POOLED.R:332:3', 'test-EFA_POOLED.R:437:1',
    'test-EFA_POOLED.R:443:1', 'test-EFA_POOLED.R:449:1',
    'test-EFA_POOLED.R:455:1', 'test-FACTOR_SCORES.R:36:3',
    'test-FACTOR_SCORES.R:77:3', 'test-FACTOR_SCORES.R:102:3', 'test-KMO.R:27:3',
    'test-KMO.R:71:1', 'test-OMEGA.R:196:1', 'test-OMEGA_helper.R:310:3',
    'test-PROCRUSTES.R:40:3', 'test-PROCRUSTES.R:69:3',
    'test-ROTATE_OBLQ.R:191:3', 'test-ROTATE_OBLQ.R:230:3',
    'test-ROTATE_OBLQ.R:247:3', 'test-ROTATE_OBLQ.R:264:3',
    'test-ROTATE_ORTH.R:106:3', 'test-ROTATE_ORTH.R:123:3',
    'test-ROTATE_ORTH.R:138:3', 'test-SL.R:134:3', 'test-SL.R:302:1',
    'test-cor-method-poly.R:18:3', 'test-cor-method-poly.R:95:3',
    'test-cor-method-poly.R:144:3', 'test-cor-method-poly.R:282:3',
    'test-efa_group.R:127:3', 'test-efa_group.R:294:3', 'test-efa_group.R:314:3',
    'test-efa_group.R:577:3', 'test-efa_group.R:607:1', 'test-efa_group.R:635:3',
    'test-efa_group.R:661:3', 'test-efa_group.R:672:1', 'test-efa_power.R:97:1',
    'test-efa_power.R:164:1', 'test-efa_power.R:197:3', 'test-efa_power.R:307:1',
    'test-efa_reliability.R:262:1', 'test-efa_scores.R:90:3',
    'test-efa_scores.R:170:3', 'test-efa_scores.R:192:3',
    'test-efa_screen.R:72:3', 'test-efa_screen.R:297:3',
    'test-efa_screen.R:328:3', 'test-efa_screen.R:512:3',
    'test-efa_screen.R:610:1', 'test-efa_simulate.R:77:3',
    'test-efa_simulate.R:325:3', 'test-efa_simulate.R:344:3',
    'test-efa_simulate.R:359:3', 'test-efa_simulate.R:491:3',
    'test-efa_simulate.R:509:3', 'test-efa_simulate.R:881:3',
    'test-efa_simulate.R:896:3', 'test-efa_simulate.R:908:3',
    'test-efa_simulate.R:921:3', 'test-efa_simulate.R:928:3',
    'test-efa_simulate.R:1026:3', 'test-efa_simulate.R:1035:3',
    'test-efa_simulate.R:1075:3', 'test-factor_score_diagnostics.R:74:3',
    'test-factor_score_diagnostics.R:91:3', 'test-factor_score_weights.R:22:3',
    'test-fiml-acov.R:23:3', 'test-fiml-acov.R:55:3', 'test-fiml-acov.R:66:3',
    'test-fiml-acov.R:107:3', 'test-fiml-acov.R:160:3', 'test-fiml-acov.R:191:3',
    'test-fiml-moments.R:21:3', 'test-fiml-moments.R:43:3',
    'test-fiml-moments.R:64:3', 'test-fiml-moments.R:100:3',
    'test-fiml-moments.R:111:3', 'test-fiml-moments.R:151:3',
    'test-fiml-moments.R:174:3', 'test-fiml-moments.R:193:3',
    'test-format-loadings.R:63:1', 'test-format-loadings.R:68:1',
    'test-format-loadings.R:74:1', 'test-format-loadings.R:95:1',
    'test-format-loadings.R:100:1', 'test-format-loadings.R:116:1',
    'test-format-loadings.R:148:1', 'test-format-loadings.R:153:1',
    'test-helper.R:160:3', 'test-plot-retention.R:64:1',
    'test-plot-retention.R:75:1', 'test-plot-retention.R:82:1',
    'test-plot-retention.R:89:1', 'test-polychoric.R:78:3',
    'test-polychoric.R:101:3', 'test-polychoric.R:121:3',
    'test-polychoric.R:145:3', 'test-polychoric.R:164:3',
    'test-polychoric.R:177:3', 'test-polychoric.R:281:3',
    'test-polychoric.R:460:3', 'test-polychoric.R:485:3',
    'test-polychoric.R:504:3', 'test-regression-estimators.R:25:3',
    'test-regression-estimators.R:43:3', 'test-regression-estimators.R:58:3',
    'test-regression-estimators.R:79:3', 'test-regression-estimators.R:97:3',
    'test-regression-estimators.R:111:3', 'test-regression-estimators.R:133:3',
    'test-regression-estimators.R:182:3', 'test-regression-estimators.R:215:3',
    'test-regression-estimators.R:257:3', 'test-regression-estimators.R:274:3',
    'test-regression-rotations.R:36:3', 'test-regression-rotations.R:82:3',
    'test-regression-rotations.R:126:3', 'test-regression-rotations.R:161:3',
    'test-regression-rotations.R:202:3', 'test-regression-rotations.R:253:3',
    'test-regression-rotations.R:267:3', 'test-regression-rotations.R:309:3',
    'test-regression-rotations.R:328:3', 'test-regression-rotations.R:377:3',
    'test-regression-rotations.R:417:3', 'test-regression-rotations.R:461:3',
    'test-regression-rotations.R:469:3', 'test-regression-rotations.R:486:3',
    'test-reliability_result.R:108:1', 'test-se-information.R:72:3',
    'test-se-information.R:93:3', 'test-se-information.R:116:3',
    'test-se-information.R:266:3', 'test-se-information.R:312:3',
    'test-se-sandwich.R:36:3', 'test-se-sandwich.R:158:3',
    'test-se-sandwich.R:189:3', 'test-se-sandwich.R:215:3',
    'test-se-sandwich.R:359:3', 'test-se-sandwich.R:395:3',
    'test-se-sandwich.R:439:3'
  • slow test; set EFATOOLS_TEST_SLOW=true to run (51):
    'test-EFA_AVERAGE.R:74:3', 'test-EFA_AVERAGE.R:135:3',
    'test-EFA_AVERAGE.R:505:3', 'test-EFA_AVERAGE.R:532:3',
    'test-EFA_AVERAGE.R:546:3', 'test-EFA_AVERAGE.R:561:3',
    'test-EFA_AVERAGE.R:583:3', 'test-EFA_AVERAGE.R:599:3',
    'test-EFA_AVERAGE.R:629:3', 'test-HULL.R:33:3', 'test-HULL.R:45:3',
    'test-HULL.R:75:3', 'test-HULL.R:86:3', 'test-HULL.R:102:3',
    'test-HULL.R:135:3', 'test-HULL.R:163:3', 'test-HULL.R:198:3',
    'test-NEST.R:12:3', 'test-NEST.R:22:3', 'test-NEST.R:32:3',
    'test-NEST.R:49:3', 'test-NEST.R:65:3', 'test-NEST.R:75:3',
    'test-NEST.R:89:3', 'test-NEST.R:125:3', 'test-N_FACTORS.R:11:3',
    'test-N_FACTORS.R:47:3', 'test-N_FACTORS.R:65:3', 'test-N_FACTORS.R:81:3',
    'test-N_FACTORS.R:96:3', 'test-N_FACTORS.R:111:3', 'test-N_FACTORS.R:126:3',
    'test-N_FACTORS.R:137:3', 'test-N_FACTORS.R:166:3', 'test-PARALLEL.R:19:3',
    'test-PARALLEL.R:37:3', 'test-PARALLEL.R:83:3', 'test-PARALLEL.R:101:3',
    'test-PARALLEL.R:217:3', 'test-efa_power.R:297:3',
    'test-plot-retention.R:2:3', 'test-snapshots.R:9:3', 'test-snapshots.R:21:3',
    'test-snapshots.R:32:3', 'test-snapshots.R:42:3', 'test-snapshots.R:56:3',
    'test-snapshots.R:67:3', 'test-snapshots.R:75:3', 'test-snapshots.R:87:3',
    'test-snapshots.R:98:3', 'test-snapshots.R:106:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-polychoric.R:256:3'): an empty off-diagonal cell does not bias the estimate below the MLE ──
  Expected `ours` to equal `gold`.
  Differences:
    `actual`: 0.989
  `expected`: 0.977
  
  
  [ FAIL 1 | WARN 0 | SKIP 254 | PASS 4099 ]
  Error:
  ! Test failures.
  Execution halted