Running ‘testthat.R’ [29m/43m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(lavacreg)
  This is lavacreg 0.2-0
  lavacreg is BETA software! Please report any bugs.
  > 
  > test_check("lavacreg")
  Computing starting values...done. Took: 0 s
  Fitting the model...done. Took: 0.1 s
  Computing standard errors...done. Took: 0 s
  Computing starting values...done. Took: 0 s
  Fitting the model...done. Took: 0.2 s
  Computing standard errors...done. Took: 0 s
  Computing starting values...done. Took: 0 s
  Fitting the model...done. Took: 0.2 s
  Computing standard errors...done. Took: 0.1 s
  Computing starting values...done. Took: 0 s
  Fitting the model...done. Took: 0.7 s
  Computing standard errors...done. Took: 0.2 s
  Computing starting values...done. Took: 0 s
  Fitting the model...done. Took: 1.3 s
  Computing standard errors...done. Took: 0.5 s
  Computing starting values...done. Took: 0 s
  Fitting the model...done. Took: 2.5 s
  Computing standard errors...done. Took: 1 s
  Computing starting values...done. Took: 0 s
  Fitting the model...done. Took: 7.4 s
  Computing standard errors...done. Took: 4.6 s
  Computing starting values...done. Took: 0 s
  Fitting the model...done. Took: 12.6 s
  Computing standard errors...done. Took: 5.5 s
  Computing starting values...done. Took: 2.1 s
  Fitting the model...done. Took: 4.6 s
  Computing standard errors...done. Took: 2.6 s
  Computing starting values...done. Took: 2.9 s
  Fitting the model...done. Took: 9.4 s
  Computing standard errors...done. Took: 3.8 s
  Computing starting values...done. Took: 4.5 s
  Fitting the model...done. Took: 127.8 s
  Computing standard errors...done. Took: 63 s
  Computing starting values...done. Took: 6.4 s
  Fitting the model...done. Took: 247 s
  Computing standard errors...done. Took: 86.4 s
  Computing starting values...done. Took: 4.3 s
  Fitting the model...done. Took: 16.5 s
  Computing standard errors...done. Took: 10.2 s
  Computing starting values...done. Took: 7.9 s
  Fitting the model...done. Took: 36 s
  Computing standard errors...done. Took: 12.1 s
  Computing starting values...done. Took: 8.3 s
  Fitting the model...done. Took: 26.1 s
  Computing standard errors...done. Took: 18.6 s
  Computing starting values...done. Took: 17.6 s
  Fitting the model...done. Took: 74 s
  Computing standard errors...done. Took: 26.2 s
  Computing starting values...done. Took: 8.4 s
  Fitting the model...done. Took: 302.2 s
  Computing standard errors...done. Took: 171.1 s
  Computing starting values...done. Took: 13.3 s
  Fitting the model...done. Took: 952.8 s
  Computing standard errors...done. Took: 266.4 s
  [ FAIL 23 | WARN 0 | SKIP 2 | PASS 330 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • Not finished (2): 'test-countreg.R:2178:3', 'test_interactions.r:5:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-countreg.R:552:3'): two-group three manifest covariates negative binomial ──
  se_overdis not equal to `comp`.
  2/2 mismatches (average diff: 0.0199)
  [1]  5.1 -  5.08 ==  0.0202
  [2] 11.2 - 11.23 == -0.0196
  ── Failure ('test-countreg.R:799:3'): two-group one latent covariate negative binomial ──
  se_overdis not equal to `comp`.
  2/2 mismatches (average diff: 0.0118)
  [1] 1.57 - 1.57 == -0.000254
  [2] 7.39 - 7.37 ==  0.023258
  ── Failure ('test-countreg.R:805:3'): two-group one latent covariate negative binomial ──
  se_mm_nu not equal to `comp`.
  2/2 mismatches (average diff: 4.08e-05)
  [1] 0.121 - 0.121 == 4.08e-05
  [2] 0.121 - 0.121 == 4.08e-05
  ── Failure ('test-countreg.R:1029:3'): two-group two latent covariates negative binomial ──
  par_mm_nu not equal to `comp`.
  2/10 mismatches (average diff: 3.18e-05)
  [2] 1.09 - 1.09 == 3.18e-05
  [7] 1.09 - 1.09 == 3.18e-05
  ── Failure ('test-countreg.R:1081:3'): two-group two latent covariates negative binomial ──
  se_overdis not equal to `comp`.
  2/2 mismatches (average diff: 0.0275)
  [1]  6.39 -  6.37 == 0.0204
  [2] 12.81 - 12.77 == 0.0347
  ── Failure ('test-countreg.R:1087:3'): two-group two latent covariates negative binomial ──
  se_mm_nu not equal to `comp`.
  2/6 mismatches (average diff: 3.16e-05)
  [1] 0.098 - 0.098 == 3.16e-05
  [4] 0.098 - 0.098 == 3.16e-05
  ── Failure ('test-countreg.R:1404:3'): two-group one latent, one manifest covariate negative binomial ──
  se_overdis not equal to `comp`.
  2/2 mismatches (average diff: 0.0211)
  [1] 4.58 - 4.59 == -0.00868
  [2] 8.95 - 8.99 == -0.03343
  ── Failure ('test-countreg.R:1682:3'): two-group one latent, two manifest covariate negative binomial ──
  par_overdis not equal to `comp`.
  2/2 mismatches (average diff: 0.000231)
  [1] 14.5 - 14.5 == -0.000182
  [2] 19.1 - 19.1 == -0.000280
  ── Failure ('test-countreg.R:1698:3'): two-group one latent, two manifest covariate negative binomial ──
  par_sig_z_cov not equal to `comp`.
  1/2 mismatches
  [1] -0.634 - -0.634 == -1.35e-05
  ── Failure ('test-countreg.R:1704:3'): two-group one latent, two manifest covariate negative binomial ──
  par_mm_nu not equal to `comp`.
  2/6 mismatches (average diff: 1.29e-05)
  [2] -0.103 - -0.103 == 1.29e-05
  [5] -0.103 - -0.103 == 1.29e-05
  ── Failure ('test-countreg.R:1733:3'): two-group one latent, two manifest covariate negative binomial ──
  par_sig_z_eta_cov not equal to `comp`.
  1/4 mismatches
  [1] 0.495 - 0.495 == 2.66e-05
  ── Failure ('test-countreg.R:1759:3'): two-group one latent, two manifest covariate negative binomial ──
  se_overdis not equal to `comp`.
  2/2 mismatches (average diff: 0.0255)
  [1]  5.62 -  5.63 == -0.00659
  [2] 10.37 - 10.33 ==  0.04450
  ── Failure ('test-countreg.R:1930:3'): two-group two latent, one manifest covariates Poisson ──
  se_beta not equal to `comp`.
  1/4 mismatches
  [3] 0.32 - 0.32 == -2.15e-05
  ── Failure ('test-countreg.R:2034:3'): two-group two latent, one manifest covariate negative binomial ──
  par_beta not equal to `comp`.
  2/4 mismatches (average diff: 3.17e-05)
  [1] 1.86 - 1.86 == -3.73e-05
  [3] 1.92 - 1.92 ==  2.60e-05
  ── Failure ('test-countreg.R:2039:3'): two-group two latent, one manifest covariate negative binomial ──
  par_gamma not equal to `comp`.
  1/4 mismatches
  [1] 0.197 - 0.197 == 1.03e-05
  ── Failure ('test-countreg.R:2044:3'): two-group two latent, one manifest covariate negative binomial ──
  par_overdis not equal to `comp`.
  2/2 mismatches (average diff: 0.00018)
  [1] 16.1 - 16.1 == -0.000155
  [2] 19.7 - 19.7 == -0.000206
  ── Failure ('test-countreg.R:2061:3'): two-group two latent, one manifest covariate negative binomial ──
  par_mm_nu not equal to `comp`.
  2/10 mismatches (average diff: 1.98e-05)
  [2] 1.5 - 1.5 == -1.98e-05
  [7] 1.5 - 1.5 == -1.98e-05
  ── Failure ('test-countreg.R:2090:3'): two-group two latent, one manifest covariate negative binomial ──
  par_sig_eta_cov not equal to `comp`.
  1/2 mismatches
  [2] -0.423 - -0.423 == -1.28e-05
  ── Failure ('test-countreg.R:2095:3'): two-group two latent, one manifest covariate negative binomial ──
  par_sig_z_eta_cov not equal to `comp`.
  3/4 mismatches (average diff: 1.31e-05)
  [2]  0.471 -  0.471 ==  1.20e-05
  [3] -0.466 - -0.466 == -1.43e-05
  [4]  0.653 -  0.653 == -1.30e-05
  ── Failure ('test-countreg.R:2108:3'): two-group two latent, one manifest covariate negative binomial ──
  se_beta not equal to `comp`.
  2/4 mismatches (average diff: 2.4e-05)
  [1] 0.0411 - 0.0411 == 3.41e-05
  [3] 0.0566 - 0.0566 == 1.39e-05
  ── Failure ('test-countreg.R:2118:3'): two-group two latent, one manifest covariate negative binomial ──
  se_overdis not equal to `comp`.
  2/2 mismatches (average diff: 0.0945)
  [1]  8.84 -  8.69 == 0.1530
  [2] 13.27 - 13.23 == 0.0361
  ── Failure ('test-countreg.R:2136:3'): two-group two latent, one manifest covariate negative binomial ──
  se_mm_nu not equal to `comp`.
  2/6 mismatches (average diff: 2.05e-05)
  [1] 0.049 - 0.049 == 2.05e-05
  [4] 0.049 - 0.049 == 2.05e-05
  ── Failure ('test-countreg.R:2160:3'): two-group two latent, one manifest covariate negative binomial ──
  se_sig_eta_var not equal to `comp`.
  1/4 mismatches
  [4] 0.053 - 0.0529 == 1.1e-05
  
  [ FAIL 23 | WARN 0 | SKIP 2 | PASS 330 ]
  Error: Test failures
  Execution halted