Running ‘testthat.R’ [13s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(metaSEM)
  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)
  "SLSQP" is set as the default optimizer in OpenMx.
  mxOption(NULL, "Gradient algorithm") is set at "central".
  mxOption(NULL, "Optimality tolerance") is set at "6.3e-14".
  mxOption(NULL, "Gradient iterations") is set at "2".
  > 
  > test_check("metaSEM")
  Error: C stack usage  279221396 is too close to the limit
  <simpleError: The job for model 'Asymptotic covariance matrix of correlation matrix' exited abnormally with the error message: User interrupt>
  Error: C stack usage  279221396 is too close to the limit
  Error in running mxModel:
  <simpleError: The job for model 'No predictor' exited abnormally with the error message: User interrupt>
  Error: C stack usage  279221396 is too close to the limit
  Error in running mxModel:
  <simpleError: The job for model 'Meta analysis with FIML' exited abnormally with the error message: User interrupt>
  Error: C stack usage  279221396 is too close to the limit
  <simpleError: The job for model 'TSSEM1 Correlation' exited abnormally with the error message: User interrupt>
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_utilities.R:336:5): Cor2DataFrame() works correctly ─────────────
  Error: The job for model 'Asymptotic covariance matrix of correlation matrix' exited abnormally with the error message: User interrupt
  Backtrace:
      █
   1. └─metaSEM::Cor2DataFrame(Nohe15A1$data, Nohe15A1$n) test_utilities.R:336:4
   2.   └─metaSEM::asyCov(...)
   3.     └─base::mapply(...)
   4.       └─(function (x, n, cor.analysis = TRUE, dropNA = FALSE, as.matrix = TRUE, ...
  ── Error (test_utilities.R:546:5): metaFIML() works correctly ──────────────────
  Error: The job for model 'Meta analysis with FIML' exited abnormally with the error message: User interrupt
  Backtrace:
      █
   1. └─metaSEM::metaFIML(y = r, v = r_v, x = JP_alpha, data = Jaramillo05) test_utilities.R:546:4
  ── Error (test_utilities.R:666:5): Handling NA in diagonals in tssem1FEM() correctly ──
  Error: The job for model 'TSSEM1 Correlation' exited abnormally with the error message: User interrupt
  Backtrace:
      █
   1. └─metaSEM::tssem1(Cov = list(C1, C2, C3), n = c(50, 50, 50), method = "FEM") test_utilities.R:666:4
   2.   └─metaSEM::tssem1FEM(...)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 89 ]
  Error: Test failures
  Execution halted