Running ‘testthat.R’ [0m/153m]
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 'No predictor' exited abnormally with the error message: Non-conformable matrices in horizontal concatenation (cbind). First argument has 0 rows, and argument #2 has 3 rows.>
  ── 1. Failure: metaFIML() works correctly (@test_utilities.R#479)  ─────────────
  vcov(fit1a) not equal to vcov(fit1b)[names1, names1].
  25/25 mismatches (average diff: NaN)
  [1]  2.26e-13 - NA == NA
  [2]  7.70e-12 - NA == NA
  [3]  1.32e-11 - NA == NA
  [4]  1.37e-11 - NA == NA
  [5] -4.06e-12 - NA == NA
  [6]  7.70e-12 - NA == NA
  [7]  2.62e-10 - NA == NA
  [8]  3.04e-11 - NA == NA
  [9]  4.13e-11 - NA == NA
  ...
  
  Error in running mxModel:
  <simpleError: The job for model 'No predictor' exited abnormally with the error message: Non-conformable matrices in horizontal concatenation (cbind). First argument has 4 rows, and argument #2 has 0 rows.>
  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 0 rows, and argument #2 has 4 rows.>
  ── 2. Error: metaFIML() works correctly (@test_utilities.R#484)  ───────────────
  The job for model 'Meta analysis with FIML' exited abnormally with the error message: Non-conformable matrices in horizontal concatenation (cbind). First argument has 0 rows, and argument #2 has 4 rows.
  1: metaFIML(y = r, v = r_v, x = JP_alpha, av = IDV, data = Jaramillo05) at testthat/test_utilities.R:484
  2: warning(print(mx.fit))
  3: withRestarts({
         .Internal(.signalCondition(cond, message, call))
         .Internal(.dfltWarn(message, call))
     }, muffleWarning = function() NULL)
  4: withOneRestart(expr, restarts[[1L]])
  
  
   *** caught segfault ***
  address fffffff7, cause 'memory not mapped'
  
   *** caught segfault ***
  address 121a5005, cause 'memory not mapped'