Running ‘testthat.R’ [218s/226s]
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!
  Saving _problems/test-OMEGA-22.R
  Saving _problems/test-OMEGA_helper-173.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 2215 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-OMEGA.R:22:1'): (code run outside of `test_that()`) ────────────
  Error in `xtfrm.data.frame(structure(list(`1` = 0.0378603062522912, `2` = 0.0133470820794106, `3` = 0.338365397997874), row.names = "V1", class = "data.frame"))`: cannot xtfrm data frames
  Backtrace:
      ▆
   1. └─EFAtools::OMEGA(schmid_mod, type = "psych") at test-OMEGA.R:22:1
   2.   └─EFAtools:::.OMEGA_FLEX(...)
   3.     ├─base::xtfrm(`<df[,3]>`)
   4.     └─base::xtfrm.data.frame(`<df[,3]>`)
  ── Error ('test-OMEGA_helper.R:173:1'): (code run outside of `test_that()`) ────
  Error in `xtfrm.data.frame(structure(list(`1` = 0.0378603062522912, `2` = 0.0133470820794106, `3` = 0.338365397997874), row.names = "V1", class = "data.frame"))`: cannot xtfrm data frames
  Backtrace:
      ▆
   1. └─EFAtools:::.OMEGA_FLEX(schmid_mod, type = "psych", variance = "correlation") at test-OMEGA_helper.R:173:1
   2.   ├─base::xtfrm(`<df[,3]>`)
   3.   └─base::xtfrm.data.frame(`<df[,3]>`)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 2215 ]
  Error:
  ! Test failures.
  Execution halted