Running ‘testthat.R’ [66s/81s]
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)
  
  ── 3. Failure: (unknown) (@test-defvar.R#75)  ──────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 1.01 - 1e-04 == 1.01
  
  ── 4. Failure: (unknown) (@test-defvar.R#76)  ──────────────────────────────────
  `a` not equivalent to `b`.
  4/4 mismatches (average diff: 0.315)
  [1] 0.98298 - 1.0 == -0.0170
  [2] 0.00471 - 0.1 == -0.0953
  [3] 0.00471 - 0.1 == -0.0953
  [4] 2.05246 - 1.0 ==  1.0525
  
  ── 5. Failure: (unknown) (@test-defvar.R#78)  ──────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 0.0257 - 0.1 == -0.0743
  
  ── 6. Failure: (unknown) (@test-defvar.R#79)  ──────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 0.0161 - 0.1 == -0.0839
  
  Error: C stack usage  212112532 is too close to the limit
  ── 7. 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)
  
  ── 8. Failure: (unknown) (@test-ifa-drm1.R#48)  ────────────────────────────────
  `a` not equivalent to `b`.
  3/5 mismatches (average diff: 238)
  [1] -7.16e+02 - -7.55 == -708.00
  [2] -1.11e+01 - -7.40 ==   -3.75
  [5] -5.55e-17 - -3.54 ==    3.54
  
  ── 9. Failure: (unknown) (@test-ifa-drm1.R#50)  ────────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] Inf - 5000 == Inf
  
  ── 10. Failure: (unknown) (@test-ifa-drm1.R#51)  ───────────────────────────────
  `a` not equivalent to `b`.
  4/5 mismatches (average diff: Inf)
  [2] 1.24e+303 - 5.86e-05 == 1.24e+303
  [3] 4.70e+305 - 6.88e-02 == 4.70e+305
  [4] 2.28e+307 - 7.16e+00 == 2.28e+307
  [5]       Inf - 7.42e+01 ==       Inf
  
  ── 11. Failure: (unknown) (@test-ifa-drm1.R#57)  ───────────────────────────────
  `a` not equivalent to `b`.
  20/20 mismatches (average diff: Inf)
  [1] 163 - 7.65e+306 == -7.65e+306
  [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
  ...
  
  ── 12. Failure: (unknown) (@test-ifa-drm1.R#66)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 12887 - 6444 == 6444
  
  ── 13. Failure: (unknown) (@test-ifa-drm1.R#67)  ───────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: 337)
  [1] -1024.3 - -256.1 == -768.2
  [2]   -66.4 -  -16.6 ==  -49.8
  [3]    85.6 -   21.4 ==   64.2
  [4]   206.5 -   51.6 ==  154.9
  [5]   863.7 -  215.9 ==  647.8
  
  ── 14. Failure: (unknown) (@test-ifa-drm1.R#68)  ───────────────────────────────
  `a` not equivalent to `b`.
  5/5 mismatches (average diff: 285)
  [1]  52.5 -  13.1 ==  39.4
  [2]  52.5 -  13.1 ==  39.4
  [3] 263.8 -  66.0 == 197.9
  [4] 668.4 - 167.1 == 501.3
  [5] 861.7 - 215.4 == 646.3
  
  ── 15. Failure: (unknown) (@test-ifa-drm1.R#88)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 1097 - 0 == 1097
  
  ── 16. Failure: (unknown) (@test-ifa-drm1.R#92)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 45 - 10 == 35
  
  ── 17. Failure: (unknown) (@test-ifa-drm1.R#93)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 73 - 33 == 40
  
  ── 18. Failure: (unknown) (@test-ifa-drm1.R#94)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 167 - 59 == 108
  
  ── 19. Failure: (unknown) (@test-ifa-drm1.R#99)  ───────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 12433 - 6216 == 6216
  
  ── 20. Failure: (unknown) (@test-ifa-drm1.R#100)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 12473 - 6256 == 6216
  
  ── 21. Failure: (unknown) (@test-ifa-drm1.R#101)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 12557 - 6341 == 6216
  
  ── 22. Failure: (unknown) (@test-ifa-drm1.R#120)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 17930 - 6382 == 11547
  
  ── 23. Failure: (unknown) (@test-ifa-drm1.R#121)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 17950 - 6402 == 11547
  
  ── 24. Failure: (unknown) (@test-ifa-drm1.R#122)  ──────────────────────────────
  `a` not equivalent to `b`.
  1/1 mismatches
  [1] 17992 - 6444 == 11547
  
  ── 25. Failure: (unknown) (@test-ifa-drm1.R#141)  ──────────────────────────────
  `a` not equivalent to `b`.
  2/5 mismatches (average diff: 9986)
  [1] 19973.045 - 0.678 == 19972.367
  [2]    -0.134 - 0.285 ==    -0.419
  
  ── 26. Failure: (unknown) (@test-ifa-drm1.R#142)  ──────────────────────────────
  `a` not equivalent to `b`.
  2/5 mismatches (average diff: 0.232)
  [1]   NaN - 0.677 ==    NaN
  [2] 0.434 - 0.667 == -0.232
  
  ── 27. 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
  ── 28. 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
  ── 29. 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
  ── 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)
  
  Error: C stack usage  212112500 is too close to the limit
  ── 31. 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
  ── 32. 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: 427 | SKIPPED: 3 | WARNINGS: 2 | FAILED: 32 ]
  1. Error: (unknown) (@test-DataErrorDetection.R#57) 
  2. Error: (unknown) (@test-GREML_Error_Detection.R#75) 
  3. Failure: (unknown) (@test-defvar.R#75) 
  4. Failure: (unknown) (@test-defvar.R#76) 
  5. Failure: (unknown) (@test-defvar.R#78) 
  6. Failure: (unknown) (@test-defvar.R#79) 
  7. Error: (unknown) (@test-gendata-multilevel.R#34) 
  8. Failure: (unknown) (@test-ifa-drm1.R#48) 
  9. Failure: (unknown) (@test-ifa-drm1.R#50) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted