Running ‘testthat.R’ [3s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mxmmod)
  > 
  > test_check("mxmmod")
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-refimpl.R:104:3): Same results as Estabrook 2015 ──────────────
  Missing values detected; omitting them.
  Backtrace:
   1. mxmmod:::mxmmod_ref(df) test-refimpl.R:104:2
   2. mxmmod::mxMmodModel(...) test-refimpl.R:14:2
  ── Warning (test-refimpl.R:123:3): Floating point occasions ────────────────────
  Missing values detected; omitting them.
  Backtrace:
   1. mxmmod:::mxmmod_ref(scaled_nlsy) test-refimpl.R:123:2
   2. mxmmod::mxMmodModel(...) test-refimpl.R:14:2
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-refimpl.R:104:3): Same results as Estabrook 2015 ────────────────
  Error: 'names' attribute [3] must be the same length as the vector [0]
  Backtrace:
      █
   1. └─mxmmod:::mxmmod_ref(df) test-refimpl.R:104:2
   2.   ├─base::summary(mxRun(mmod_model)) test-refimpl.R:17:2
   3.   └─OpenMx::mxRun(mmod_model)
   4.     └─OpenMx:::runHelper(...)
   5.       └─OpenMx:::generateMatrixList(flatModel)
   6.         └─OpenMx:::generateMatrixReferences(model)
  ── Error (test-refimpl.R:123:3): Floating point occasions ──────────────────────
  Error: 'names' attribute [3] must be the same length as the vector [0]
  Backtrace:
      █
   1. └─mxmmod:::mxmmod_ref(scaled_nlsy) test-refimpl.R:123:2
   2.   ├─base::summary(mxRun(mmod_model)) test-refimpl.R:17:2
   3.   └─OpenMx::mxRun(mmod_model)
   4.     └─OpenMx:::runHelper(...)
   5.       └─OpenMx:::generateMatrixList(flatModel)
   6.         └─OpenMx:::generateMatrixReferences(model)
  ── Error (test-refimpl.R:135:3): FIML ──────────────────────────────────────────
  Error: 'names' attribute [4] must be the same length as the vector [0]
  Backtrace:
      █
   1. └─mxmmod:::mxmmod_ref(df, do_fiml = T) test-refimpl.R:135:2
   2.   ├─base::summary(mxRun(mmod_model)) test-refimpl.R:17:2
   3.   └─OpenMx::mxRun(mmod_model)
   4.     └─OpenMx:::runHelper(...)
   5.       └─OpenMx:::generateMatrixList(flatModel)
   6.         └─OpenMx:::generateMatrixReferences(model)
  
  [ FAIL 3 | WARN 2 | SKIP 0 | PASS 3 ]
  Error: Test failures
  Execution halted