Package: EFAtools Check: tests New result: ERROR Running β€˜testthat.R’ [116s/117s] Running the tests in β€˜tests/testthat.R’ failed. Complete output: > library(testthat) > library(EFAtools) > > test_check("EFAtools") πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... πŸƒ Averaging data... Done! πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... 🚢 Reordering factors... πŸƒ Averaging data... Done! πŸƒ Extracting data... πŸƒ Averaging data... Done! πŸƒ Extracting data... πŸƒ Averaging data... Done! πŸƒ Extracting data... πŸƒ Averaging data... Done! πŸƒ β—― β—― β—― β—― β—― β—― Running CD β—‰ πŸƒ β—― β—― β—― β—― β—― Running EKC β—‰ β—‰ πŸƒ β—― β—― β—― β—― Running HULL β—‰ β—‰ β—‰ πŸƒ β—― β—― β—― Running KGC β—‰ β—‰ β—‰ β—‰ πŸƒ β—― β—― Running PARALLEL β—‰ β—‰ β—‰ β—‰ β—‰ πŸƒ β—― Running SCREE β—‰ β—‰ β—‰ β—‰ β—‰ β—‰ πŸƒ Running SMT β—‰ β—‰ β—‰ β—‰ β—‰ β—‰ β—‰ Done! πŸƒ β—― β—― β—― β—― β—― β—― Running CD β—‰ πŸƒ β—― β—― β—― β—― β—― Running EKC β—‰ β—‰ πŸƒ β—― β—― β—― β—― Running HULL β—‰ β—‰ β—‰ πŸƒ β—― β—― β—― Running KGC β—‰ β—‰ β—‰ β—‰ πŸƒ β—― β—― Running PARALLEL β—‰ β—‰ β—‰ β—‰ β—‰ πŸƒ β—― Running SCREE β—‰ β—‰ β—‰ β—‰ β—‰ β—‰ πŸƒ Running SMT β—‰ β—‰ β—‰ β—‰ β—‰ β—‰ β—‰ Done! β—‰ πŸƒ β—― β—― β—― β—― β—― Running EKC β—‰ β—‰ πŸƒ β—― β—― β—― β—― Running HULL β—‰ β—‰ β—‰ πŸƒ β—― β—― β—― Running KGC β—‰ β—‰ β—‰ β—‰ πŸƒ β—― β—― Running PARALLEL β—‰ β—‰ β—‰ β—‰ β—‰ πŸƒ β—― Running SCREE β—‰ β—‰ β—‰ β—‰ β—‰ β—‰ πŸƒ Running SMT β—‰ β—‰ β—‰ β—‰ β—‰ β—‰ β—‰ Done! πŸƒ β—― Running EKC β—‰ πŸƒ Running PARALLEL β—‰ β—‰ Done! [ FAIL 7 | WARN 0 | SKIP 0 | PASS 2249 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-OMEGA_helper.R:240:3'): output is correct ──────────────────── om_schmid_1_add[1, 5] not equal to 0.668. 1/1 mismatches [1] 0.643 - 0.668 == -0.0253 ── Failure ('test-OMEGA_helper.R:241:3'): output is correct ──────────────────── om_schmid_1_add[1, 6] not equal to 0.706. 1/1 mismatches [1] 0.464 - 0.706 == -0.242 ── Failure ('test-OMEGA_helper.R:245:3'): output is correct ──────────────────── om_schmid_2[1, 5] not equal to 0.668. 1/1 mismatches [1] 0.643 - 0.668 == -0.0253 ── Failure ('test-OMEGA_helper.R:246:3'): output is correct ──────────────────── om_schmid_2[1, 6] not equal to 0.706. 1/1 mismatches [1] 0.464 - 0.706 == -0.242 ── Failure ('test-OMEGA_helper.R:259:3'): output is correct ──────────────────── om_schmid_1_add[1, 1] is not more than sum(om_schmid_1_add[1, 2:3]). Difference: -0.0917 ── Failure ('test-OMEGA_helper.R:260:3'): output is correct ──────────────────── om_schmid_2[1, 1] is not more than sum(om_schmid_2[1, 2:3]). Difference: -0.0917 ── Error ('test-OMEGA_helper.R:287:3'): errors are thrown correctly ──────────── Error in `.OMEGA_FLEX(schmid_mod, type = "psych", factor_corres = sl_mod$sl[, c("F1", "F2", "F3")] >= 0.2, variance = "correlation")`: Assertion on 'factor_corres' failed: Must have exactly 4 cols, but has 3 cols. Backtrace: β–† 1. β”œβ”€testthat::expect_warning(...) at test-OMEGA_helper.R:287:3 2. β”‚ └─testthat:::quasi_capture(...) 3. β”‚ β”œβ”€testthat (local) .capture(...) 4. β”‚ β”‚ └─base::withCallingHandlers(...) 5. β”‚ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─EFAtools:::.OMEGA_FLEX(...) 7. └─checkmate::assert_matrix(...) 8. └─checkmate::makeAssertion(x, res, .var.name, add) 9. └─checkmate:::mstop(...) [ FAIL 7 | WARN 0 | SKIP 0 | PASS 2249 ] Error: Test failures Execution halted Package: exams.forge Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building β€˜exams.forge.Rmd’ using rmarkdown Quitting from lines 3505-3524 [unnamed-chunk-147] (exams.forge.Rmd) Execution halted Package: NA Check: NA Old result: NA New result: NA