Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(bsem)
  Loading required package: coda
  Loading required package: lattice
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  Loading required package: viridis
  Loading required package: viridisLite
  > 
  > test_check("bsem")
  
  SAMPLING FOR MODEL 'factorial' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 2 [ 50%]  (Sampling)
  Chain 1: Iteration: 2 / 2 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0 seconds (Warm-up)
  Chain 1:                0.016 seconds (Sampling)
  Chain 1:                0.016 seconds (Total)
  Chain 1: 
  
  
  ---
  bsem model:  factorial 
  latent variables (outer model):  5 
  
  
   outer model loadings (alpha):
  
   F1 
     mean 50% sd HPD.l HPD.u n_eff Rhat
  Y1   -2  -2  0    -2    -2    NA    1
  X1    2   2  0     2     2    NA    1
  X2    2   2  0     2     2    NA    1
  
   F2 
     mean 50% sd HPD.l HPD.u n_eff Rhat
  X3    2   2  0     2     2    NA    1
  X4    2   2  0     2     2    NA    1
  X5   -2  -2  0    -2    -2    NA    1
  X6   -2  -2  0    -2    -2    NA    1
  
   F3 
     mean 50% sd HPD.l HPD.u n_eff Rhat
  X7    2   2  0     2     2    NA    1
  X8   -2  -2  0    -2    -2    NA    1
  X9    2   2  0     2     2    NA    1
  
   F4 
      mean 50% sd HPD.l HPD.u n_eff Rhat
  X10    2   2  0     2     2    NA    1
  X11    2   2  0     2     2    NA    1
  X12   -2  -2  0    -2    -2    NA    1
  X13    2   2  0     2     2    NA    1
  X14    2   2  0     2     2    NA    1
  X15    2   2  0     2     2    NA    1
  
   F5 
      mean 50% sd HPD.l HPD.u n_eff Rhat
  X16   -2  -2  0    -2    -2    NA    1
  X17    2   2  0     2     2    NA    1
  X18    2   2  0     2     2    NA    1
  X19   -2  -2  0    -2    -2    NA    1
  X20    2   2  0     2     2    NA    1
  
  ---
  
  
  ---
  bsem model:  factorial 
  latent variables (outer model):  5 
  
  
   outer model loadings (alpha):
  
   F1 
     mean 50% sd HPD.l HPD.u n_eff Rhat
  Y1   -2  -2  0    -2    -2    NA    1
  X1    2   2  0     2     2    NA    1
  X2    2   2  0     2     2    NA    1
  
   F2 
     mean 50% sd HPD.l HPD.u n_eff Rhat
  X3    2   2  0     2     2    NA    1
  X4    2   2  0     2     2    NA    1
  X5   -2  -2  0    -2    -2    NA    1
  X6   -2  -2  0    -2    -2    NA    1
  
   F3 
     mean 50% sd HPD.l HPD.u n_eff Rhat
  X7    2   2  0     2     2    NA    1
  X8   -2  -2  0    -2    -2    NA    1
  X9    2   2  0     2     2    NA    1
  
   F4 
      mean 50% sd HPD.l HPD.u n_eff Rhat
  X10    2   2  0     2     2    NA    1
  X11    2   2  0     2     2    NA    1
  X12   -2  -2  0    -2    -2    NA    1
  X13    2   2  0     2     2    NA    1
  X14    2   2  0     2     2    NA    1
  X15    2   2  0     2     2    NA    1
  
   F5 
      mean 50% sd HPD.l HPD.u n_eff Rhat
  X16   -2  -2  0    -2    -2    NA    1
  X17    2   2  0     2     2    NA    1
  X18    2   2  0     2     2    NA    1
  X19   -2  -2  0    -2    -2    NA    1
  X20    2   2  0     2     2    NA    1
  
  ---
  
   idiosyncratic error variances (sigma2):
               mean    50% sd  HPD.l  HPD.u n_eff Rhat
  sigma2[1]  1.0366 1.0366  0 1.0366 1.0366    NA    1
  sigma2[2]  0.7161 0.7161  0 0.7161 0.7161    NA    1
  sigma2[3]  0.1554 0.1554  0 0.1554 0.1554    NA    1
  sigma2[4]  0.1812 0.1812  0 0.1812 0.1812    NA    1
  sigma2[5]  2.4951 2.4951  0 2.4951 2.4951    NA    1
  sigma2[6]  0.6937 0.6937  0 0.6937 0.6937    NA    1
  sigma2[7]  0.4157 0.4157  0 0.4157 0.4157    NA    1
  sigma2[8]  0.2870 0.2870  0 0.2870 0.2870    NA    1
  sigma2[9]  0.7343 0.7343  0 0.7343 0.7343    NA    1
  sigma2[10] 4.7617 4.7617  0 4.7617 4.7617    NA    1
  sigma2[11] 0.5778 0.5778  0 0.5778 0.5778    NA    1
  sigma2[12] 0.6214 0.6214  0 0.6214 0.6214    NA    1
  sigma2[13] 1.1829 1.1829  0 1.1829 1.1829    NA    1
  sigma2[14] 0.2135 0.2135  0 0.2135 0.2135    NA    1
  sigma2[15] 0.2901 0.2901  0 0.2901 0.2901    NA    1
  sigma2[16] 0.2411 0.2411  0 0.2411 0.2411    NA    1
  sigma2[17] 5.7154 5.7154  0 5.7154 5.7154    NA    1
  sigma2[18] 2.5013 2.5013  0 2.5013 2.5013    NA    1
  sigma2[19] 5.6947 5.6947  0 5.6947 5.6947    NA    1
  sigma2[20] 0.3011 0.3011  0 0.3011 0.3011    NA    1
  sigma2[21] 2.9368 2.9368  0 2.9368 2.9368    NA    1
  sigma2[22] 0.2790 0.2790  0 0.2790 0.2790    NA    1
  
  
  
  Head Rhat:
  alpha[1,1] alpha[2,1] alpha[3,1] alpha[4,1] alpha[5,1] alpha[6,1] 
           1          1          1          1          1          1 
  
  Tail Rhat:
  sigma2[17] sigma2[18] sigma2[19] sigma2[20] sigma2[21] sigma2[22] 
           1          1          1          1          1          1 
  
  median PTVE:  85.89 
  
  ---
  -- 1. Error: (unknown) (@test.R#23)  -------------------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    9. base::plot(.)
   11. DiagrammeR::create_edge_df(...)
   12. dplyr::bind_cols
   13. base::getExportedValue(pkg, name)
   14. base::asNamespace(ns)
   15. base::getNamespace(ns)
   16. base::loadNamespace(name)
   17. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 1 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: (unknown) (@test.R#23) 
  
  Error: testthat unit tests failed
  Execution halted