Running 'testthat.R' [103s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(OpenMx)
  > 
  > test_check("OpenMx")
  -- Skip (test-268.R:28:1): 268 -------------------------------------------------
  Reason: empty test
  
  -- Skip (test-ACELRTCI20160808.R:21:1): (code run outside of `test_that()`) ----
  Reason: On CRAN
  
  -- Skip (test-FactorScores.R:26:1): (code run outside of `test_that()`) --------
  Reason: On CRAN
  
  -- Skip (test-LatentAR-190605.R:6:1): (code run outside of `test_that()`) ------
  Reason: On CRAN
  
  -- Warning (test-cor.R:31:1): (code run outside of `test_that()`) --------------
  In model 'Both' Optimizer returned a non-zero status code 6. The model does not satisfy the first-order optimality conditions to the required accuracy, and no improved point for the merit function could be found during the final linesearch (Mx status RED)
  
  -- Warning (test-discrete.R:85:3): Normal --------------------------------------
  In model 'One Factor' Optimizer returned a non-zero status code 5. The Hessian at the solution does not appear to be convex. See ?mxCheckIdentification for possible diagnosis (Mx status RED).
  
  -- FAILURE (test-discrete.R:203:3): mediation ----------------------------------
  fit$Discrete$values not equivalent to c(zif, size, prob).
  2/3 mismatches (average diff: 0.0892)
  [1] 0.360 - 0.3 == 0.0596
  [2] 0.619 - 0.5 == 0.1187
  
  -- Skip (test-loadDataByCol.R:5:1): (code run outside of `test_that()`) --------
  Reason: .Platform$OS.type == "windows" && .Platform$r_arch == "i386"  is TRUE
  
   [1]   1  33  34  40  54  55  81  83  97 104 105 111 113 135 142 145 160 161 188
  [20] 193 196 209 212 230 241 261
  -- Skip (test-omp.R:5:1): (code run outside of `test_that()`) ------------------
  Reason: imxHasOpenMP() is not TRUE
  
  -- Skipped tests  --------------------------------------------------------------
  * .Platform$OS.type == "windows" && .Platform$r_arch == "i386"  is TRUE (1)
  * On CRAN (3)
  * empty test (1)
  * imxHasOpenMP() is not TRUE (1)
  
  == testthat results  ===========================================================
  Warning (test-cor.R:31:1): (code run outside of `test_that()`)
  Warning (test-discrete.R:85:3): Normal
  FAILURE (test-discrete.R:203:3): mediation
  
  [ FAIL 1 | WARN 2 | SKIP 6 | PASS 623 ]
  Error: Test failures
  Execution halted