Running 'testthat.R' [13s/15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(BifactorIndicesCalculator)
  > 
  > test_check("BifactorIndicesCalculator")
  This matrix describes assignment of items to factors 
         MR1   MR2   MR3   MR4   MR5  
  SRS_1  0.715 0.583                  
  SRS_2  0.711 0.598                  
  SRS_3  0.655                        
  SRS_4  0.447       0.426            
  SRS_5  0.542             0.393      
  SRS_6  0.6         0.507            
  SRS_7  0.748                        
  SRS_8  0.672 0.382                  
  SRS_9  0.471             0.556      
  SRS_10 0.523       0.504            
  SRS_11 0.443 0.279             0.285
  SRS_12 0.714             0.3        
  SRS_13 0.672                        
  SRS_14 0.588                   0.427
  SRS_15 0.328                   0.23 
  SRS_16 0.795                        
  SRS_17 0.424             0.227 0.389
  SRS_18 0.465                        
  SRS_19 0.488       0.65             
  SRS_20 0.653                        
  
   
  Reading model:  continuous.out 
  Reading model:  categorical.out 
  Reading model:  bifactor_continuous_wrongfacvar.out 
  -- 1. Error: bifactorIndicesMplus Works (@test-BifactorIndicesCalculator.R#569) 
  'where' must be an environment
  Backtrace:
    1. testthat::expect_equal(...)
    4. BifactorIndicesCalculator::bifactorIndicesMplus(...)
    6. BifactorIndicesCalculator:::getTheta.mplus.model(Lambda, standardized = standardized)
    9. tidyr::separate(...)
   10. ellipsis::check_dots_used()
   12. ellipsis:::exit_handler(action)
   13. base::bquote(...)
  
  Reading model:  bifactor_esem.out 
  Reading model:  bifactor_esem_nostd.out 
  -- 2. Error: bifactorIndicesMplus_ESEM Works (@test-BifactorIndicesCalculator.R#
  'where' must be an environment
  Backtrace:
    1. testthat::expect_equal(...)
    4. BifactorIndicesCalculator::bifactorIndicesMplus_ESEM(std_output)
    6. BifactorIndicesCalculator:::getLambda.mplus.model(Lambda)
    8. BifactorIndicesCalculator:::getLambda.mplus.params(x$parameters$stdyx.standardized)
   11. tidyr::separate(...)
   12. ellipsis::check_dots_used()
   14. ellipsis:::exit_handler(action)
   15. base::bquote(...)
  
  == testthat results  ===========================================================
  [ OK: 41 | SKIPPED: 0 | WARNINGS: 27 | FAILED: 2 ]
  1. Error: bifactorIndicesMplus Works (@test-BifactorIndicesCalculator.R#569) 
  2. Error: bifactorIndicesMplus_ESEM Works (@test-BifactorIndicesCalculator.R#579) 
  
  Error: testthat unit tests failed
  Execution halted