Running ‘testthat.R’ [9s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(umx)
  Loading required package: OpenMx
  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
  Running Independence One Factor with 10 parameters
  Error in if (nrow(covMatrix) != ncol(covMatrix)) { : 
    argument is of length zero
  Calls: test_check ... genericExpConvertEntities -> updateExpectationDimnames
  In addition: Warning message:
  In mxMLObjective("R", dimnames = names(demoOneFactor)) :
    Objective functions like mxMLObjective() have been deprecated in favor of expectation and fit functions.
   Please use mxExpectationNormal(covariance= , ...) instead, and add a call to mxFitFunctionML()
   See examples at help(mxExpectationNormal)
  testthat results ================================================================
  OK: 11 SKIPPED: 0 FAILED: 0
  Execution halted