Running ‘testthat.R’ [66s/92s]
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  279221396 is too close to the limit
  ── 1. Error: (unknown) (@test-DataErrorDetection.R#57)  ────────────────────────
  The job for model 'untitled17' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::mxRun(model)
   2. OpenMx:::runHelper(...)
   3. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  Error: C stack usage  279221396 is too close to the limit
  ── 2. 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  279221396 is too close to the limit
  ── 3. Error: (unknown) (@test-cor.R#29)  ───────────────────────────────────────
  The job for model 'L' exited abnormally with the error message: User interrupt
  Backtrace:
   1. OpenMx::mxRun(fl)
   2. OpenMx:::runHelper(...)
   3. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  Error: C stack usage  279221396 is too close to the limit
  ── 4. 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)
  
  ── 5. Failure: (unknown) (@test-ifa-drm1.R#50)  ────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 10000 - 5000 == 5000
  
  ── 6. 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
  
  ── 7. 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
  ...
  
  ── 8. Failure: (unknown) (@test-ifa-drm1.R#66)  ────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] Inf - 6444 == Inf
  
  ── 9. Failure: (unknown) (@test-ifa-drm1.R#67)  ────────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: Inf)
  [1]       -Inf - -256.1 ==       -Inf
  [2] -4.03e+307 -  -16.6 == -4.03e+307
  [3]        Inf -   21.4 ==        Inf
  [4]        Inf -   51.6 ==        Inf
  [5]        Inf -  215.9 ==        Inf
  
  ── 10. Failure: (unknown) (@test-ifa-drm1.R#68)  ───────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: Inf)
  [1] -Inf -  13.1 == -Inf
  [2]  Inf -  13.1 ==  Inf
  [3]  Inf -  66.0 ==  Inf
  [4]  Inf - 167.1 ==  Inf
  [5]  Inf - 215.4 ==  Inf
  
  ── 11. Failure: (unknown) (@test-ifa-drm1.R#70)  ───────────────────────────────
  `a` not equivalent to `b`.
  371/400 mismatches (average diff: NaN)
  [1] NaN - Inf == NaN
  [2] NaN - Inf == NaN
  [3] NaN -   0 == NaN
  [4] NaN -   0 == NaN
  [5] NaN -   0 == NaN
  [6] NaN -   0 == NaN
  [7] NaN -   0 == NaN
  [8] NaN -   0 == NaN
  [9] NaN -   0 == NaN
  ...
  
  ── 12. Failure: (unknown) (@test-ifa-drm1.R#88)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 1.94e+81 - 0 == 1.94e+81
  
  ── 13. Failure: (unknown) (@test-ifa-drm1.R#89)  ───────────────────────────────
  m2$output$status$code not equivalent to 0.
  1/1 mismatches
  [1] 6 - 0 == 6
  
  ── 14. Failure: (unknown) (@test-ifa-drm1.R#92)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 300 - 10 == 290
  
  ── 15. Failure: (unknown) (@test-ifa-drm1.R#93)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 377 - 33 == 344
  
  ── 16. Failure: (unknown) (@test-ifa-drm1.R#94)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 879 - 59 == 820
  
  ── 17. Failure: (unknown) (@test-ifa-drm1.R#99)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 222510 - 6216 == 216294
  
  ── 18. Failure: (unknown) (@test-ifa-drm1.R#100)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 222550 - 6256 == 216294
  
  ── 19. Failure: (unknown) (@test-ifa-drm1.R#101)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 222635 - 6341 == 216294
  
  ── 20. Failure: (unknown) (@test-ifa-drm1.R#120)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 15576 - 6382 == 9194
  
  ── 21. Failure: (unknown) (@test-ifa-drm1.R#121)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 15596 - 6402 == 9194
  
  ── 22. Failure: (unknown) (@test-ifa-drm1.R#122)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 15638 - 6444 == 9194
  
  ── 23. Failure: (unknown) (@test-ifa-drm1.R#126)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 0.0397 - 0.988 == -0.948
  
  ── 24. Failure: (unknown) (@test-ifa-drm1.R#141)  ──────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: 5.48)
  [1]  6.00 -  0.678 ==  5.32
  [2]  5.60 -  0.285 ==  5.32
  [3]  5.60 - -0.344 ==  5.94
  [4] -4.22 - -0.103 == -4.11
  [5]  5.60 - -1.082 ==  6.68
  
  ── 25. Failure: (unknown) (@test-ifa-drm1.R#142)  ──────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: 0.558)
  [1] 5.96e-08 - 0.677 == -0.677
  [2] 3.38e-05 - 0.667 == -0.667
  [3] 2.45e-02 - 0.663 == -0.638
  [4] 7.96e-01 - 0.662 ==  0.133
  [5] 5.03e-03 - 0.680 == -0.675
  
  ── 26. Error: (unknown) (@test-ifa-drm1.R#143)  ────────────────────────────────
  missing value where TRUE/FALSE needed
  Backtrace:
   1. OpenMx::omxCheckCloseEnough(...)
   2. testthat::expect_equivalent(...)
   4. testthat:::compare.numeric(act$val, exp$val, ..., check.attributes = FALSE)
   6. base::all.equal.numeric(...)
  
  Error: C stack usage  279221364 is too close to the limit
  ── 27. 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  279221364 is too close to the limit
  ── 28. 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  279221396 is too close to the limit
  ── 29. 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  279221396 is too close to the limit
  ── 30. 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)
  
  ── 31. Error: (unknown) (@test-naAction.R#16)  ─────────────────────────────────
  no 'dimnames' attribute for array
  Backtrace:
   1. OpenMx::mxModel(...)
   3. OpenMx::imxModelBuilder(...)
   4. OpenMx:::listArgumentLISREL(model, lst, remove)
   5. OpenMx:::addEntriesLISREL(model, lst)
   6. OpenMx:::insertAllPathsLISREL(model, paths)
   7. OpenMx:::insertMeansPathLISREL(...)
  
  Error: C stack usage  279221364 is too close to the limit
  ── 32. 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  279221396 is too close to the limit
  ── 33. 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)
  
  Error: C stack usage  279221364 is too close to the limit
  ── 34. Failure: (unknown) (@test-wls-binary.R#43)  ─────────────────────────────
  `mxRun(wlsTest4)` threw an error with unexpected message.
  Expected match: "correlated gradients: [3,1]"
  Actual message: "The job for model 'GWAS' exited abnormally with the error message: User interrupt"
  Backtrace:
   1. testthat::expect_error(...)
   6. OpenMx::mxRun(wlsTest4)
   7. OpenMx:::runHelper(...)
   8. OpenMx:::processErrorConditions(model, unsafe, suppressWarnings)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 429 | SKIPPED: 4 | WARNINGS: 3 | FAILED: 34 ]
  1. Error: (unknown) (@test-DataErrorDetection.R#57) 
  2. Error: (unknown) (@test-GREML_Error_Detection.R#75) 
  3. Error: (unknown) (@test-cor.R#29) 
  4. Error: (unknown) (@test-gendata-multilevel.R#34) 
  5. Failure: (unknown) (@test-ifa-drm1.R#50) 
  6. Failure: (unknown) (@test-ifa-drm1.R#51) 
  7. Failure: (unknown) (@test-ifa-drm1.R#57) 
  8. Failure: (unknown) (@test-ifa-drm1.R#66) 
  9. Failure: (unknown) (@test-ifa-drm1.R#67) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted