Running ‘testthat.R’ [24s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(parglm)
  > 
  > test_check("parglm")
  ── 1. Failure: works with different families (@test_parglm_fams.R#139)  ────────
  binomial_cloglog_LAPACK w/ offset not equal to f2[to_check].
  Component "coefficients": Mean relative difference: 1.098971e-05
  Component "residuals": Mean relative difference: 6.016586e-06
  Component "fitted.values": Mean relative difference: 1.107906e-06
  Component "linear.predictors": Mean relative difference: 4.641165e-06
  Component "iter": Mean relative difference: 0.25
  
  ── 2. Failure: works with different families (@test_parglm_fams.R#139)  ────────
  binomial_cloglog_LAPACK w/ offset not equal to s2[!names(s2) %in% excl].
  Component "iter": Mean relative difference: 0.25
  Component "deviance.resid": Mean relative difference: 4.452401e-06
  
  ── 3. Failure: works with different families (@test_parglm_fams.R#152)  ────────
  poisson_log_LAPACK w/ weigths not equal to f2[to_check].
  Component "iter": Mean relative difference: 0.4
  
  ── 4. Failure: works with different families (@test_parglm_fams.R#152)  ────────
  poisson_log_LAPACK w/ weigths not equal to s2[!names(s2) %in% excl].
  Component "iter": Mean relative difference: 0.4
  
  ── 5. Failure: works with different families (@test_parglm_fams.R#152)  ────────
  binomial_probit_LINPACK w/ weigths not equal to f2[to_check].
  Component "coefficients": Mean relative difference: 1.398838e-06
  Component "residuals": Mean relative difference: 2.01876e-06
  Component "fitted.values": Mean relative difference: 3.69575e-07
  Component "linear.predictors": Mean relative difference: 1.353491e-06
  Component "aic": Mean relative difference: 1.082845e-08
  Component "iter": Mean relative difference: 0.25
  
  ── 6. Failure: works with different families (@test_parglm_fams.R#152)  ────────
  binomial_probit_LINPACK w/ weigths not equal to s2[!names(s2) %in% excl].
  Component "iter": Mean relative difference: 0.25
  Component "deviance.resid": Mean relative difference: 1.077494e-06
  
  ── 7. Failure: works with different families (@test_parglm_fams.R#152)  ────────
  binomial_cloglog_LINPACK w/ weigths not equal to f2[to_check].
  Component "coefficients": Mean relative difference: 1.41435e-06
  Component "residuals": Mean relative difference: 9.60891e-07
  Component "fitted.values": Mean relative difference: 1.805315e-07
  Component "linear.predictors": Mean relative difference: 7.380389e-07
  Component "aic": Mean relative difference: 2.007561e-08
  
  ── 8. Failure: works with different families (@test_parglm_fams.R#152)  ────────
  binomial_cloglog_LINPACK w/ weigths not equal to s2[!names(s2) %in% excl].
  Component "deviance.resid": Mean relative difference: 7.470903e-07
  
  ── 9. Failure: works with different families (@test_parglm_fams.R#152)  ────────
  poisson_sqrt_LINPACK w/ weigths not equal to f2[to_check].
  Component "coefficients": Mean relative difference: 3.144904e-08
  Component "residuals": Mean relative difference: 4.943752e-08
  
  ── 10. Failure: works with different families w/ starting values (@test_parglm_f
  binomial_log_LAPACK not equal to f2[to_check].
  Component "coefficients": Mean relative difference: 5.254331e-05
  Component "residuals": Mean relative difference: 1.618407e-05
  Component "fitted.values": Mean relative difference: 6.13756e-06
  Component "linear.predictors": Mean relative difference: 1.23215e-05
  Component "iter": Mean relative difference: 0.5454545
  
  ── 11. Failure: works with different families w/ starting values (@test_parglm_f
  binomial_log_LAPACK not equal to s2[!names(s2) %in% excl].
  Component "iter": Mean relative difference: 0.5454545
  Component "deviance.resid": Mean relative difference: 5.905777e-06
  
  ── 12. Failure: works with different families w/ starting values (@test_parglm_f
  inverse.gaussian_inverse_LAPACK w/ offset not equal to f2[to_check].
  Component "coefficients": Mean relative difference: 1.372559e-06
  Component "residuals": Mean relative difference: 2.950475e-07
  Component "fitted.values": Mean relative difference: 1.508471e-07
  Component "linear.predictors": Mean relative difference: 1.474018e-07
  
  ── 13. Failure: works with different families w/ starting values (@test_parglm_f
  inverse.gaussian_inverse_LAPACK w/ offset not equal to s2[!names(s2) %in% excl].
  Component "deviance.resid": Mean relative difference: 2.117017e-07
  
  ── 14. Failure: works with different families w/ starting values (@test_parglm_f
  binomial_probit_LINPACK w/ weigths not equal to f2[to_check].
  Component "coefficients": Mean relative difference: 1.266917e-06
  Component "residuals": Mean relative difference: 1.560602e-06
  Component "fitted.values": Mean relative difference: 2.739638e-07
  Component "linear.predictors": Mean relative difference: 1.169836e-06
  Component "iter": Mean relative difference: 0.3333333
  
  ── 15. Failure: works with different families w/ starting values (@test_parglm_f
  binomial_probit_LINPACK w/ weigths not equal to s2[!names(s2) %in% excl].
  Component "iter": Mean relative difference: 0.3333333
  Component "deviance.resid": Mean relative difference: 8.542079e-07
  
  ── 16. Failure: works with different families w/ starting values (@test_parglm_f
  binomial_cauchit_LINPACK w/ weigths not equal to f2[to_check].
  Component "coefficients": Mean relative difference: 1.249365e-05
  Component "residuals": Mean relative difference: 1.776344e-05
  Component "fitted.values": Mean relative difference: 3.663611e-06
  Component "linear.predictors": Mean relative difference: 1.530177e-05
  Component "aic": Mean relative difference: 3.020634e-07
  Component "iter": Mean relative difference: 0.25
  
  ── 17. Failure: works with different families w/ starting values (@test_parglm_f
  binomial_cauchit_LINPACK w/ weigths not equal to s2[!names(s2) %in% excl].
  Component "aic": Mean relative difference: 3.020634e-07
  Component "iter": Mean relative difference: 0.25
  Component "deviance.resid": Mean relative difference: 6.051e-06
  
  ── 18. Failure: works with different families w/ starting values (@test_parglm_f
  Gamma_log_LINPACK w/ weigths not equal to f2[to_check].
  Component "coefficients": Mean relative difference: 2.096667e-08
  Component "residuals": Mean relative difference: 4.233082e-07
  Component "fitted.values": Mean relative difference: 1.86387e-08
  Component "iter": Mean relative difference: 0.5
  
  ── 19. Failure: works with different families w/ starting values (@test_parglm_f
  Gamma_log_LINPACK w/ weigths not equal to s2[!names(s2) %in% excl].
  Component "iter": Mean relative difference: 0.5
  Component "deviance.resid": Mean relative difference: 4.222524e-07
  
  ── 20. Failure: works with different families w/ starting values (@test_parglm_f
  inverse.gaussian_log_LINPACK w/ weigths not equal to f2[to_check].
  Component "coefficients": Mean relative difference: 0.0009176987
  Component "residuals": Mean relative difference: 0.0001098304
  Component "fitted.values": Mean relative difference: 0.0001129241
  Component "linear.predictors": Mean relative difference: 7.447652e-05
  Component "iter": Mean relative difference: 0.2307692
  
  ── 21. Failure: works with different families w/ starting values (@test_parglm_f
  inverse.gaussian_log_LINPACK w/ weigths not equal to s2[!names(s2) %in% excl].
  Component "iter": Mean relative difference: 0.2307692
  Component "deviance.resid": Mean relative difference: 5.294754e-05
  
  ── 22. Failure: works with different families w/ starting values (@test_parglm_f
  inverse.gaussian_log_LINPACK w/ weigths not equal to s2$coefficients[na, 1:2].
  5/12 mismatches (average diff: 0.00101)
  [1]  1.2071 -  1.2067 ==  0.000453
  [2] -0.5531 - -0.5515 == -0.001620
  [3]  0.5381 -  0.5392 == -0.001097
  [4]  1.8140 -  1.8148 == -0.000740
  [6] -0.0991 - -0.0979 == -0.001141
  
  
  error: chol(): decomposition failed
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 1299 SKIPPED: 0 WARNINGS: 0 FAILED: 22
  1. Failure: works with different families (@test_parglm_fams.R#139) 
  2. Failure: works with different families (@test_parglm_fams.R#139) 
  3. Failure: works with different families (@test_parglm_fams.R#152) 
  4. Failure: works with different families (@test_parglm_fams.R#152) 
  5. Failure: works with different families (@test_parglm_fams.R#152) 
  6. Failure: works with different families (@test_parglm_fams.R#152) 
  7. Failure: works with different families (@test_parglm_fams.R#152) 
  8. Failure: works with different families (@test_parglm_fams.R#152) 
  9. Failure: works with different families (@test_parglm_fams.R#152) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted