Running ‘testthat.R’ [14s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(metaSEM)
  Loading required package: OpenMx
  To take full advantage of multiple cores, use:
    mxOption(key='Number of Threads', value=parallel::detectCores()) #now
    Sys.setenv(OMP_NUM_THREADS=parallel::detectCores()) #before library(OpenMx)
  "SLSQP" is set as the default optimizer in OpenMx.
  mxOption(NULL, "Gradient algorithm") is set at "central".
  mxOption(NULL, "Optimality tolerance") is set at "6.3e-14".
  mxOption(NULL, "Gradient iterations") is set at "2".
  > 
  > test_check("metaSEM")
  Error in running mxModel:
  <simpleError: The job for model 'Meta analysis with FIML' exited abnormally with the error message: Non-conformable matrices in horizontal concatenation (cbind). First argument has 3 rows, and argument #2 has 0 rows.>
  ── 1. Error: metaFIML() works correctly (@test_utilities.R#524)  ───────────────
  The job for model 'Meta analysis with FIML' exited abnormally with the error message: Non-conformable matrices in horizontal concatenation (cbind). First argument has 3 rows, and argument #2 has 0 rows.
  Backtrace:
   1. metaSEM::metaFIML(y = r, v = r_v, x = JP_alpha, data = Jaramillo05)
  
  Error: C stack usage  279221396 is too close to the limit
  <simpleError: The job for model 'TSSEM1 Correlation' exited abnormally with the error message: User interrupt>
  ── 2. Error: Handling NA in diagonals in tssem1FEM() correctly (@test_utilities.
  The job for model 'TSSEM1 Correlation' exited abnormally with the error message: User interrupt
  Backtrace:
   1. metaSEM::tssem1(Cov = list(C1, C2, C3), n = c(50, 50, 50), method = "FEM")
   2. metaSEM::tssem1FEM(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 89 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: metaFIML() works correctly (@test_utilities.R#524) 
  2. Error: Handling NA in diagonals in tssem1FEM() correctly (@test_utilities.R#644) 
  
  Error: testthat unit tests failed
  Execution halted