Running ‘testthat.R’ [63s/89s]
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-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  212112532 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  212112532 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  212112532 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#48)  ────────────────────────────────
  `a` not equivalent to `b`.
  4/5 mismatches (average diff: 179)
  [1] -7.17e+02 - -7.55 == -708.993
  [2] -9.62e+00 - -7.40 ==   -2.223
  [4] -6.16e+00 - -6.94 ==    0.775
  [5] -5.55e-17 - -3.54 ==    3.541
  
  ── 6. Failure: (unknown) (@test-ifa-drm1.R#50)  ────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] Inf - 5000 == Inf
  
  ── 7. Failure: (unknown) (@test-ifa-drm1.R#51)  ────────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: Inf)
  [1] 3.27e+299 - 0.00e+00 == 3.27e+299
  [2] 3.23e+303 - 5.86e-05 == 3.23e+303
  [3] 1.50e+306 - 6.88e-02 == 1.50e+306
  [4] 5.11e+307 - 7.16e+00 == 5.11e+307
  [5]       Inf - 7.42e+01 ==       Inf
  
  ── 8. Failure: (unknown) (@test-ifa-drm1.R#57)  ────────────────────────────────
  `a` not equivalent to `b`.
  20/20 mismatches (average diff: Inf)
  [1] 163 - Inf == -Inf
  [2] 337 - Inf == -Inf
  [3] 119 - Inf == -Inf
  [4] 381 - Inf == -Inf
  [5] 221 - Inf == -Inf
  [6] 279 - Inf == -Inf
  [7] 228 - Inf == -Inf
  [8] 272 - Inf == -Inf
  [9] 289 - Inf == -Inf
  ...
  
  ── 9. Failure: (unknown) (@test-ifa-drm1.R#66)  ────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] Inf - 6444 == Inf
  
  ── 10. 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
  
  ── 11. 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
  
  ── 12. Failure: (unknown) (@test-ifa-drm1.R#70)  ───────────────────────────────
  `a` not equivalent to `b`.
  367/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
  ...
  
  ── 13. Failure: (unknown) (@test-ifa-drm1.R#88)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 1293 - 0 == 1293
  
  ── 14. Failure: (unknown) (@test-ifa-drm1.R#89)  ───────────────────────────────
  m2$output$status$code not equivalent to 0.
  1/1 mismatches
  [1] 6 - 0 == 6
  
  ── 15. Failure: (unknown) (@test-ifa-drm1.R#92)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 429 - 10 == 419
  
  ── 16. Failure: (unknown) (@test-ifa-drm1.R#93)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 466 - 33 == 433
  
  ── 17. Failure: (unknown) (@test-ifa-drm1.R#94)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 1019 - 59 == 960
  
  ── 18. Failure: (unknown) (@test-ifa-drm1.R#99)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 12433 - 6216 == 6216
  
  ── 19. Failure: (unknown) (@test-ifa-drm1.R#100)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 12473 - 6256 == 6216
  
  ── 20. Failure: (unknown) (@test-ifa-drm1.R#101)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 12557 - 6341 == 6216
  
  ── 21. Failure: (unknown) (@test-ifa-drm1.R#120)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 15107 - 6382 == 8724
  
  ── 22. Failure: (unknown) (@test-ifa-drm1.R#121)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 15127 - 6402 == 8724
  
  ── 23. Failure: (unknown) (@test-ifa-drm1.R#122)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 15169 - 6444 == 8724
  
  ── 24. Failure: (unknown) (@test-ifa-drm1.R#141)  ──────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: 3.21)
  [1]   1.076 -  0.678 ==   0.398
  [2]   0.000 -  0.285 ==  -0.285
  [3] -14.178 - -0.344 == -13.834
  [4]   0.339 - -0.103 ==   0.442
  [5]   0.000 - -1.082 ==   1.082
  
  ── 25. Failure: (unknown) (@test-ifa-drm1.R#142)  ──────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: 0.384)
  [1] 0.649 - 0.677 == -0.0278
  [2] 0.000 - 0.667 == -0.6667
  [3]   NaN - 0.663 ==     NaN
  [4] 0.823 - 0.662 ==  0.1606
  [5] 0.000 - 0.680 == -0.6797
  
  ── 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  212112500 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  212112500 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  212112532 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  212112532 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  212112500 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  212112532 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  212112500 is too close to the limit
  Execution halted