Running 'testthat.R' [10s/12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ctsemOMX)
  Loading required package: ctsem
  Loading required package: Rcpp
  ctsem also changes in time, for manual run ctDocs(), for blog see https://cdriver.netlify.app/, for citation info run citation('ctsem'), for original OpenMx functionality install.packages('ctsemOMX')
  Loading required package: OpenMx
  
  Attaching package: 'ctsemOMX'
  
  The following objects are masked from 'package:ctsem':
  
      ctFit, ctIndplot
  
  > pdf(NULL)
  >  test_check("ctsemOMX")
  Error in names(retval) <- matnames : 
    'names' attribute [20] must be the same length as the vector [0]
  Error in names(retval) <- matnames : 
    'names' attribute [20] must be the same length as the vector [0]
  Error in names(retval) <- matnames : 
    'names' attribute [20] must be the same length as the vector [0]
  Error in names(retval) <- matnames : 
    'names' attribute [20] must be the same length as the vector [0]
  Error in names(retval) <- matnames : 
    'names' attribute [20] must be the same length as the vector [0]
  
  
  == Warnings ====================================================================
  -- Warning (test-kalmanVram.R:35:1): time calc ---------------------------------
  Error in names(retval) <- matnames : 
    'names' attribute [20] must be the same length as the vector [0]
  
  Backtrace:
   1. ctsemOMX::ctRefineTo(...) test-kalmanVram.R:35:0
   2. OpenMx::mxTryHard(...)
  
  == Failed tests ================================================================
  -- Error (test-kalmanVram.R:35:1): time calc -----------------------------------
  Error: trying to get slot "matrices" from an object (class "try-error") that is not an S4 object 
  Backtrace:
      x
   1. \-ctsemOMX::ctRefineTo(...) test-kalmanVram.R:35:0
   2.   \-OpenMx::omxGetParameters(fit$mxobj)
   3.     \-base::lapply(...)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 2 ]
  Error: Test failures
  Execution halted