Running ‘testthat.R’ [0m/180m]
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  251958420 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
  1: umxRAM("test", data = mxData(cov(demoOneFactor), type = "cov", numObs = 500), umxPath("g", 
         to = manifests), umxPath(var = manifests), umxPath(var = "g", fixedAt = 1)) at testthat/test_residuals.MxModel.r:15
  2: xmu_safe_run_summary(newModel, autoRun = autoRun, tryHard = tryHard, std = std, show = show)
  3: tryCatch({
         if (tryHard == "no") {
             model1 = mxRun(model1, beginMessage = !umx_set_silent(silent = TRUE), silent = umx_set_silent(silent = TRUE))
         }
         else if (tryHard == "mxTryHard") {
             model1 = mxTryHard(model1)
         }
         else if (tryHard == "mxTryHardOrdinal") {
             model1 = mxTryHardOrdinal(model1)
         }
         else if (tryHard == "mxTryHardWideSearch") {
             model1 = mxTryHardWideSearch(model1)
         }
     }, error = function(e) {
         if (tryHard == "no") {
             message("Error incurred trying to run model: model = mxTryHard(model) might help?")
         }
         else {
             message("Error incurred trying to run model")
         }
         message(e)
     })
  4: tryCatchList(expr, classes, parentenv, handlers)
  5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  6: value[[3L]](cond)
  7: message(e)
  8: withRestarts({
         signalCondition(cond)
         defaultHandler(cond)
     }, muffleMessage = function() NULL)
  9: withOneRestart(expr, restarts[[1L]])
  10: doWithOneRestart(return(expr), restart)
  
  
  
  |    |   ai1|   ci1|   ei1|
  |:---|-----:|-----:|-----:|
  |gff | 0.408| 0.408| 0.408|
  |fc  | 0.408| 0.408| 0.408|
  |qol | 0.408| 0.408| 0.408|
  |hap | 0.408| 0.408| 0.408|
  |sat | 0.408| 0.408| 0.408|
  |AD  | 0.408| 0.408| 0.408|
  
  
  |           |   gff|    fc|   qol|   hap|   sat|    AD|
  |:----------|-----:|-----:|-----:|-----:|-----:|-----:|
  |Specific a | 0.408| 0.408| 0.408| 0.408| 0.408| 0.408|
  |Specific c | 0.408| 0.408| 0.408| 0.408| 0.408| 0.408|
  |Specific e | 0.408| 0.408| 0.408| 0.408| 0.408| 0.408|
  Error: C stack usage  251958388 is too close to the limit
  Error: C stack usage  251958388 is too close to the limit
  ── 2. Error: testing umx twin models (@test_umx_ACE_etc.r#21)  ─────────────────
  The job for model 'IPa1c1e1' exited abnormally with the error message: 1:User interrupt
  2:User interrupt
  1: umxIP(selDVs = selDVs, sep = "_T", dzData = dzData, mzData = mzData, type = "DWLS", 
         allContinuousMethod = "marginals") at testthat/test_umx_ACE_etc.r:21
  2: xmu_safe_run_summary(model, autoRun = autoRun, tryHard = tryHard)
  3: tryCatch({
         if (tryHard == "no") {
             model1 = mxRun(model1, beginMessage = !umx_set_silent(silent = TRUE), silent = umx_set_silent(silent = TRUE))
         }
         else if (tryHard == "mxTryHard") {
             model1 = mxTryHard(model1)
         }
         else if (tryHard == "mxTryHardOrdinal") {
             model1 = mxTryHardOrdinal(model1)
         }
         else if (tryHard == "mxTryHardWideSearch") {
             model1 = mxTryHardWideSearch(model1)
         }
     }, error = function(e) {
         if (tryHard == "no") {
             message("Error incurred trying to run model: model = mxTryHard(model) might help?")
         }
         else {
             message("Error incurred trying to run model")
         }
         message(e)
     })
  4: tryCatchList(expr, classes, parentenv, handlers)
  5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  6: value[[3L]](cond)
  7: message(e)
  8: withRestarts({
         signalCondition(cond)
         defaultHandler(cond)
     }, muffleMessage = function() NULL)
  9: withOneRestart(expr, restarts[[1L]])
  10: doWithOneRestart(return(expr), restart)
  
  
   *** caught segfault ***
  address 6f756e69, cause 'memory not mapped'