Running ‘testthat.R’ [110s/107s]
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(NULL, 'Number of Threads', parallel::detectCores())
  For an overview type '?umx'
  
  Attaching package: 'umx'
  
  The following object is masked from 'package:stats':
  
      loadings
  
  > 
  > test_check("umx")
  Running One Factor with 10 parameters
  
  
  |   |x1   |x2    |x3   |x4    |x5 |
  |:--|:----|:-----|:----|:-----|:--|
  |x1 |.    |.     |0.01 |.     |.  |
  |x2 |.    |.     |0.01 |-0.01 |.  |
  |x3 |0.01 |0.01  |.    |.     |.  |
  |x4 |.    |-0.01 |.    |.     |.  |
  |x5 |.    |.     |.    |.     |.  |
  [1] "nb: You can zoom in on bad values with, e.g. suppress = .01, which will hide values smaller than this. Use digits = to round"
  'log Lik.' 27287.23 (df=4)
  
  
  |    |   a1|c1 |   e1|
  |:---|----:|:--|----:|
  |wt1 | 0.87|.  | 0.49|
  'log Lik.' -11985.57 (df=4)
  
  
  |    |   a1|   c1|   e1|
  |:---|----:|----:|----:|
  |ht1 | 0.92| 0.14| 0.36|
  Running m1 with 38 parameters
  Running by_bracket1 with 38 parameters
  Running bylabel with 38 parameters
  Running m1 with 26 parameters
  Running by_bracket with 26 parameters
  Running bylabel with 26 parameters
  Running One Factor with 15 parameters
  Running Saturated One Factor with 20 parameters
  Error: The job for model 'Saturated One Factor' exited abnormally with the error message: fit is not finite (0: The continuous part of the model implied covariance (loc2) is not positive definite in data 'Saturated One Factor.data' row 111. Detail:
  covariance =  matrix(c(    # 5x5
   0.198544,   0,   0,   0,   0
  , 0.334825, 0.0902381,   0,   0,   0
  , 0.452996, 0.110338, 0.0654995,   0,   0
  , 0.618772, 0.16006, 0.0707545, 0.0681816,   0
  , 0.758898, 0.207326, 0.0838464, 0.0645905, 0.0554296), byrow=TRUE, nrow=5, ncol=5)
  
  )
  In addition: Warning messages:
  1: In model 'One Factor' 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) 
  2: In model 'm1' 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) 
  3: In model 'by_bracket1' 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) 
  4: In model 'bylabel' 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) 
  5: In model 'm1' 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) 
  6: In model 'by_bracket' 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) 
  7: In model 'bylabel' 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) 
  8: In model 'One Factor' 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) 
  9: In model 'Saturated One Factor' Optimizer returned a non-zero status code 10. Starting values are not feasible. Consider mxTryHard() 
  testthat results ================================================================
  OK: 10 SKIPPED: 0 FAILED: 0
  Execution halted