Running ‘testthat.R’ [20s/24s]
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")
  ── 1. Failure: metaFIML() works correctly (@test_utilities.R#515)  ─────────────
  `v_fit2a` not equal to `v_fit2b`.
  64/64 mismatches (average diff: 3.49e+09)
  [1]  1.55e-05 - -2.85e+10 ==  2.85e+10
  [2] -2.68e-08 -  1.42e+10 == -1.42e+10
  [3]  2.55e-05 -  1.42e+10 == -1.42e+10
  [4] -3.36e-04 -  1.42e+10 == -1.42e+10
  [5] -1.29e-04 -        NA ==        NA
  [6]  1.07e-04 -  1.42e+10 == -1.42e+10
  [7]  4.05e-06 -  1.42e+10 == -1.42e+10
  [8] -4.08e-10 -  1.74e+08 == -1.74e+08
  [9] -2.68e-08 -  1.42e+10 == -1.42e+10
  ...
  
  Error: C stack usage  212112532 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
  1: tssem1(Cov = list(C1, C2, C3), n = c(50, 50, 50), method = "FEM") at testthat/test_utilities.R:577
  2: tssem1FEM(Cov = Cov, n = n, cor.analysis = cor.analysis, model.name = model.name, 
         cluster = cluster, suppressWarnings = suppressWarnings, silent = silent, run = run, 
         ...)
  3: warning(print(mx.fit))
  4: withRestarts({
         .Internal(.signalCondition(cond, message, call))
         .Internal(.dfltWarn(message, call))
     }, muffleWarning = function() NULL)
  5: withOneRestart(expr, restarts[[1L]])
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 91 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
  1. Failure: metaFIML() works correctly (@test_utilities.R#515) 
  2. Error: Handling NA in diagonals in tssem1FEM() correctly (@test_utilities.R#577) 
  
  Error: testthat unit tests failed
  Execution halted