Running ‘testthat.R’ [52s/67s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(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)
  > 
  > test_check("OpenMx")
  Error: C stack usage  212112532 is too close to the limit
  ── 1. Error: (unknown) (@test-GREML_Error_Detection.R#75)  ─────────────────────
  The job for model 'GREMLtest' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::omxCheckWarning(...)
   7. OpenMx::mxRun(testmod, suppressWarnings = TRUE)
   8. OpenMx:::runHelper(...)
   9. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  Error: C stack usage  212112532 is too close to the limit
  ── 2. Error: (unknown) (@test-gendata-multilevel.R#34)  ────────────────────────
  The job for model 'yield' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::mxRun(yield, silent = TRUE)
   2. OpenMx:::runHelper(...)
   3. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  ── 3. Failure: (unknown) (@test-ifa-drm1.R#50)  ────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 10000 - 5000 == 5000
  
  ── 4. Failure: (unknown) (@test-ifa-drm1.R#51)  ────────────────────────────────
  `a` not equivalent to `b`.
  3/5 mismatches (average diff: 27.1)
  [3]   0.138 -  0.0688 ==  0.0688
  [4]  14.316 -  7.1582 ==  7.1582
  [5] 148.317 - 74.1583 == 74.1583
  
  ── 5. Failure: (unknown) (@test-ifa-drm1.R#57)  ────────────────────────────────
  `a` not equivalent to `b`.
  20/20 mismatches (average diff: 250)
  [1] 163 - 326 == -163
  [2] 337 - 674 == -337
  [3] 119 - 238 == -119
  [4] 381 - 762 == -381
  [5] 221 - 442 == -221
  [6] 279 - 558 == -279
  [7] 228 - 456 == -228
  [8] 272 - 544 == -272
  [9] 289 - 578 == -289
  ...
  
  ── 6. Failure: (unknown) (@test-ifa-drm1.R#66)  ────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] Inf - 6444 == Inf
  
  ── 7. Failure: (unknown) (@test-ifa-drm1.R#67)  ────────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: Inf)
  [1] -Inf - -256.1 == -Inf
  [2] -Inf -  -16.6 == -Inf
  [3] -Inf -   21.4 == -Inf
  [4]  Inf -   51.6 ==  Inf
  [5]  Inf -  215.9 ==  Inf
  
  ── 8. Failure: (unknown) (@test-ifa-drm1.R#68)  ────────────────────────────────
  `a` not equivalent to `b`.
  target is logical, current is numeric
  
  ── 9. Error: (unknown) (@test-ifa-drm1.R#70)  ──────────────────────────────────
  Lapack routine dgesv: system is exactly singular: U[1,1] = 0
  Backtrace:
   1. OpenMx::omxCheckCloseEnough(...)
   4. base::solve.default(testDeriv$output$hessian)
  
  Error: C stack usage  212112500 is too close to the limit
  ── 10. Error: (unknown) (@test-loadDataByCol.R#67)  ────────────────────────────
  The job for model 'loadData' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::mxRun(model2)
   2. OpenMx:::runHelper(...)
   3. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  Error: C stack usage  212112500 is too close to the limit
  ── 11. Error: (unknown) (@test-loadDataByRow.R#66)  ────────────────────────────
  The job for model 'loadData' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::mxRun(model2)
   2. OpenMx:::runHelper(...)
   3. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  Error: C stack usage  212112532 is too close to the limit
  ── 12. Error: (unknown) (@test-mxSE.R#23)  ─────────────────────────────────────
  The job for model 'one_is_the_loneliest_number' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::mxRun(m1)
   2. OpenMx:::runHelper(...)
   3. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  Error: C stack usage  212112532 is too close to the limit
  ── 13. Error: (unknown) (@test-mxsave.R#47)  ───────────────────────────────────
  The job for model 'testFish' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::mxRun(testModel, checkpoint = TRUE)
   2. OpenMx:::runHelper(...)
   3. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  Error: C stack usage  212112500 is too close to the limit
  ── 14. Error: (unknown) (@test-npdWarningWLS.R#44)  ────────────────────────────
  The job for model 'fake' exited abnormally with the error message: User interrupt
  Backtrace:
    1. OpenMx::omxCheckWarning(...)
    7. OpenMx::omxAugmentDataWithWLSSummary(...)
    8. OpenMx::mxRun(fake, silent = silent)
    9. OpenMx:::runHelper(...)
   10. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  Error: C stack usage  212112532 is too close to the limit
  ── 15. Error: (unknown) (@test-simplestCI.R#41)  ───────────────────────────────
  The job for model 'CIExample' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::mxRun(model, silent = TRUE)
   2. OpenMx:::runHelper(...)
   3. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 426 | SKIPPED: 3 | WARNINGS: 1 | FAILED: 15 ]
  1. Error: (unknown) (@test-GREML_Error_Detection.R#75) 
  2. Error: (unknown) (@test-gendata-multilevel.R#34) 
  3. Failure: (unknown) (@test-ifa-drm1.R#50) 
  4. Failure: (unknown) (@test-ifa-drm1.R#51) 
  5. Failure: (unknown) (@test-ifa-drm1.R#57) 
  6. Failure: (unknown) (@test-ifa-drm1.R#66) 
  7. Failure: (unknown) (@test-ifa-drm1.R#67) 
  8. Failure: (unknown) (@test-ifa-drm1.R#68) 
  9. Error: (unknown) (@test-ifa-drm1.R#70) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted