Running ‘testthat.R’ [30s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(umx)
  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)
  For an overview type '?umx'
  
  Attaching package: 'umx'
  
  The following object is masked from 'package:stats':
  
      loadings
  
  > 
  > test_check("umx")
  Error: C stack usage  252089492 is too close to the limit
  ── 1. Error: (unknown) (@test_residuals.MxModel.r#15)  ─────────────────────────
  The job for model 'test' exited abnormally with the error message: User interrupt
  Backtrace:
   1. umx::umxRAM(...)
   2. umx::xmu_safe_run_summary(...)
   3. base::tryCatch(...)
   4. base:::tryCatchList(expr, classes, parentenv, handlers)
   5. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   6. value[[3L]](cond)
  
  
  
  |    |   ai1|   ci1|   ei1|
  |:---|-----:|-----:|-----:|
  |gff | 0.502| 0.502| 0.484|
  |fc  | 0.573| 0.573| 0.404|
  |qol | 0.473| 0.473| 0.455|
  |hap | 0.506| 0.506| 0.469|
  |sat | 0.538| 0.588| 0.519|
  |AD  | 0.552| 0.552| 0.497|
  
  
  |           |   gff|     fc|    qol|   hap|    sat|    AD|
  |:----------|-----:|------:|------:|-----:|------:|-----:|
  |Specific a | 0.154|  0.157|  0.126| 0.235|  0.137| 0.248|
  |Specific c | 0.487|  0.374|  0.574| 0.461|  0.277| 0.271|
  |Specific e | 0.001| -0.123| -0.032| 0.009| -0.012| 0.091|
  
   *** caught segfault ***
  address cb6e87c8, cause 'memory not mapped'
  Warning: stack imbalance in 'lapply', 122 then 124
  Warning: stack imbalance in '[[', 141 then 142
  Warning: stack imbalance in 'options', 119 then 120
  Warning: stack imbalance in 'lazyLoadDBfetch', 151 then 65
  Warning: stack imbalance in '$', 66 then 82
  Error in seq2(start, length(calls)) : not a BUILTIN function
  Calls: test_check ... register_expectation -> as.expectation -> as.expectation.error -> gsub
  Warning: stack imbalance in 'options', 43 then 135809038