Running ‘testthat.R’ [174s/224s]
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.
  In smc, smcs < 0 were set to .0
  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.
  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.
  Saving _problems/test-cor-method-poly-106.R
  Saving _problems/test-cor-method-poly-110.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.
  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)
  * recovery rate (min congruence): NA (n = 0)
  * recovery rate (mean congruence): NA (n = 0)
  * median min congruence: NA
  
  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.
  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.
  Saving _problems/test-polychoric-436.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.
  i `x` is not a correlation matrix; computing correlations from the raw data.
  i Only CAF can be used as gof if estimator "PAF" is used. Setting gof to "CAF"
  [ FAIL 3 | WARN 0 | SKIP 264 | PASS 4959 ]
  
  ══ Skipped tests (264) ═════════════════════════════════════════════════════════
  • On CRAN (217): 'test-EFA-boot.R:14:3', 'test-EFA-boot.R:48:3',
    'test-EFA-boot.R:120:3', 'test-EFA-boot.R:136:3', 'test-EFA-boot.R:351:3',
    'test-EFA-boot.R:365:3', 'test-EFA-boot.R:465:3', 'test-EFA-boot.R:555:3',
    'test-EFA-boot.R:587: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:343:3',
    'test-EFA-fiml.R:367:3', 'test-EFA-fiml.R:383:3', 'test-EFA-fiml.R:417:3',
    'test-EFA-fiml.R:444:3', 'test-EFA-fiml.R:458:3', 'test-EFA-fiml.R:486:3',
    'test-EFA-fiml.R:509:3', 'test-EFA-fiml.R:524:3', 'test-EFA-fiml.R:560:3',
    'test-EFA-fiml.R:596:3', 'test-EFA-fiml.R:615:3', 'test-EFA-fiml.R:649:3',
    'test-EFA-vcov-slot.R:68:3', 'test-EFA-vcov-slot.R:256:3',
    'test-EFA-vcov-slot.R:322:3', 'test-EFA-vcov-slot.R:352:3',
    'test-EFA.R:425:1', 'test-EFA.R:431:1', 'test-EFA.R:452:1',
    'test-EFA.R:458:1', 'test-EFA.R:500:1', 'test-EFA.R:640:1',
    '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:137:3',
    'test-EFA_POOLED-mi2s.R:458: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:223:3',
    'test-EFA_POOLED-rubin-unrot.R:117:3', 'test-FACTOR_SCORES.R:36:3',
    'test-FACTOR_SCORES.R:77:3', 'test-FACTOR_SCORES.R:102:3',
    'test-OMEGA.R:200:1', 'test-OMEGA_helper.R:310:3', 'test-ROTATE_OBLQ.R:92:3',
    'test-ROTATE_OBLQ.R:239:3', 'test-ROTATE_OBLQ.R:278:3',
    'test-ROTATE_OBLQ.R:295:3', 'test-ROTATE_OBLQ.R:312:3',
    'test-ROTATE_ORTH.R:121:3', 'test-ROTATE_ORTH.R:138:3',
    'test-ROTATE_ORTH.R:153:3', 'test-control.R:255:1',
    'test-cor-method-poly.R:48:3', 'test-cor-method-poly.R:171:3',
    'test-cor-method-poly.R:220:3', 'test-cor-method-poly.R:358:3',
    'test-efa_average-fiml.R:25:3', 'test-efa_average-fiml.R:56:3',
    'test-efa_average.R:619:3', 'test-efa_average.R:728:3',
    'test-efa_bartlett.R:26:3', 'test-efa_bartlett.R:109:1',
    'test-efa_cd.R:37:3', 'test-efa_compare.R:360:1', 'test-efa_group.R:39:3',
    'test-efa_group.R:100:3', 'test-efa_group.R:148:3', 'test-efa_group.R:178:3',
    'test-efa_group.R:213:3', 'test-efa_group.R:251:3', 'test-efa_group.R:290:3',
    'test-efa_group.R:441:3', 'test-efa_group.R:608:3', 'test-efa_group.R:628:3',
    'test-efa_group.R:913:3', 'test-efa_group.R:943:1', 'test-efa_group.R:971:3',
    'test-efa_group.R:997:3', 'test-efa_group.R:1008:1', 'test-efa_kmo.R:27:3',
    'test-efa_kmo.R:71:1', 'test-efa_mi.R:268:3', 'test-efa_mi.R:332:3',
    'test-efa_mi.R:437:1', 'test-efa_mi.R:443:1', 'test-efa_mi.R:449:1',
    'test-efa_mi.R:455:1', 'test-efa_parallel.R:293:3', 'test-efa_power.R:133:1',
    'test-efa_power.R:200:1', 'test-efa_power.R:233:3', 'test-efa_power.R:343:1',
    'test-efa_procrustes.R:40:3', 'test-efa_procrustes.R:69:3',
    'test-efa_reliability.R:298:1', 'test-efa_schmid_leiman.R:135:3',
    'test-efa_schmid_leiman.R:383: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:298:3',
    'test-efa_screen.R:329:3', 'test-efa_screen.R:513:3',
    'test-efa_screen.R:624: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:522:3',
    'test-efa_simulate.R:996:3', 'test-efa_simulate.R:1011:3',
    'test-efa_simulate.R:1023:3', 'test-efa_simulate.R:1036:3',
    'test-efa_simulate.R:1043:3', 'test-efa_simulate.R:1144:3',
    'test-efa_simulate.R:1153:3', 'test-efa_simulate.R:1193: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:67:3', 'test-fiml-moments.R:103:3',
    'test-fiml-moments.R:114:3', 'test-fiml-moments.R:154:3',
    'test-fiml-moments.R:177:3', 'test-fiml-moments.R:196:3',
    'test-format-loadings.R:63:1', 'test-format-loadings.R:68:1',
    'test-format-loadings.R:76:1', 'test-format-loadings.R:209:1',
    'test-format-loadings.R:214:1', 'test-format-loadings.R:230:1',
    'test-format-loadings.R:262:1', 'test-format-loadings.R:267: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:85:3',
    'test-polychoric.R:108:3', 'test-polychoric.R:128:3',
    'test-polychoric.R:152:3', 'test-polychoric.R:171:3',
    'test-polychoric.R:184:3', 'test-polychoric.R:302:3',
    'test-polychoric.R:530:3', 'test-polychoric.R:555:3',
    'test-polychoric.R:574: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:327:3', 'test-regression-rotations.R:376:3',
    'test-regression-rotations.R:416:3', 'test-regression-rotations.R:460:3',
    'test-regression-rotations.R:468:3', 'test-regression-rotations.R:485:3',
    'test-regression-rotations.R:495:3', 'test-reliability_result.R:108:1',
    'test-se-information.R:102:3', 'test-se-information.R:127:3',
    'test-se-information.R:161:3', 'test-se-information.R:357:3',
    'test-se-information.R:425:3', 'test-se-sandwich.R:36:3',
    'test-se-sandwich.R:166:3', 'test-se-sandwich.R:197:3',
    'test-se-sandwich.R:223:3', 'test-se-sandwich.R:367:3',
    'test-se-sandwich.R:403:3', 'test-se-sandwich.R:447:3'
  • slow test; set EFATOOLS_TEST_SLOW=true to run (47):
    'test-efa_average.R:104:3', 'test-efa_average.R:169:3',
    'test-efa_average.R:539:3', 'test-efa_average.R:574:3',
    'test-efa_average.R:588:3', 'test-efa_average.R:603:3',
    'test-efa_average.R:625:3', 'test-efa_average.R:641:3',
    'test-efa_average.R:711:3', 'test-efa_average.R:763:3',
    'test-efa_hull.R:33:3', 'test-efa_hull.R:45:3', 'test-efa_hull.R:75:3',
    'test-efa_hull.R:86:3', 'test-efa_hull.R:102:3', 'test-efa_hull.R:135:3',
    'test-efa_hull.R:163:3', 'test-efa_hull.R:198:3', 'test-efa_nest.R:12:3',
    'test-efa_nest.R:22:3', 'test-efa_nest.R:32:3', 'test-efa_nest.R:49:3',
    'test-efa_nest.R:65:3', 'test-efa_nest.R:75:3', 'test-efa_nest.R:89:3',
    'test-efa_nest.R:125:3', 'test-efa_parallel.R:19:3',
    'test-efa_parallel.R:37:3', 'test-efa_parallel.R:83:3',
    'test-efa_parallel.R:101:3', 'test-efa_parallel.R:217:3',
    'test-efa_power.R:333:3', 'test-efa_retain.R:11:3', 'test-efa_retain.R:47:3',
    'test-efa_retain.R:65:3', 'test-match-arg-ci.R:95: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-cor-method-poly.R:106:3'): a degenerate polychoric pair warns, and DWLS and the sandwich both proceed ──
  Expected `"efa_acov_degenerate" %in% cl_diag` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-cor-method-poly.R:110:3'): a degenerate polychoric pair warns, and DWLS and the sandwich both proceed ──
  Expected `"efa_acov_degenerate" %in% cl_full` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-polychoric.R:436:3'): acov diag equals diag(full) for a degenerate near-comonotone pair ──
  Expected `d[[1L]]` > 1.
  Actual comparison: 0.00004 <= 1.00000
  Difference: -0.99996 <= 0
  
  [ FAIL 3 | WARN 0 | SKIP 264 | PASS 4959 ]
  Error:
  ! Test failures.
  Execution halted