Running 'testthat.R' [6s/7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # NOTE: This will not test an uninstalled package.
  > library(testthat)
  > test_check('ifaTools')
  Loading required package: ifaTools
  Loading required package: shiny
  Loading required package: ggplot2
  Loading required package: reshape2
  Loading required package: rpf
  Loading required package: parallel
  Loading required package: OpenMx
  Welcome to ifaTools!
   Use itemModelExplorer() to explore item models.
   Use modelBuilder() to build an IFA model.
  == Failed tests ================================================================
  -- Error (test-addExploratoryFactor.R:76:3): addExploratoryFactors -------------
  Error: 'names' attribute [20] must be the same length as the vector [0]
  Backtrace:
      x
   1. \-OpenMx::mxRun(m1, silent = TRUE) test-addExploratoryFactor.R:76:2
   2.   \-OpenMx:::runHelper(...)
   3.     \-OpenMx:::generateMatrixList(flatModel)
   4.       \-OpenMx:::generateMatrixReferences(model)
  -- Error (test-prior.R:24:3): univariatePrior ----------------------------------
  Error: 'names' attribute [6] must be the same length as the vector [0]
  Backtrace:
      x
   1. \-ifaTools:::checkAnalyticDeriv(...) test-prior.R:24:2
   2.   \-OpenMx::mxRun(...) test-prior.R:7:2
   3.     \-OpenMx:::runHelper(...)
   4.       \-OpenMx:::generateMatrixList(flatModel)
   5.         \-OpenMx:::generateMatrixReferences(model)
  -- Error (test-prior.R:54:3): uniquenessPrior ----------------------------------
  Error: 'names' attribute [7] must be the same length as the vector [0]
  Backtrace:
      x
   1. \-ifaTools:::checkAnalyticDeriv(omxAssignFirstParameters(m1)) test-prior.R:54:2
   2.   \-OpenMx::mxRun(...) test-prior.R:7:2
   3.     \-OpenMx:::runHelper(...)
   4.       \-OpenMx:::generateMatrixList(flatModel)
   5.         \-OpenMx:::generateMatrixReferences(model)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted