Running ‘testthat.R’ [74s/158s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(insight)
  > 
  > if (length(strsplit(packageDescription("insight")$Version, "\\.")[[1]]) > 3) {
  +   Sys.setenv("RunAllinsightTests" = "yes")
  + } else {
  +   Sys.setenv("RunAllinsightTests" = "no")
  + }
  > 
  > test_check("insight")
  Warning: Data frame is empty, probably component 'dispersion' does not exist in the random-part of the model?
  GAM s.wam loop 1: deviance = 66.42095 
  GAM s.wam loop 2: deviance = 63.77252 
  GAM s.wam loop 3: deviance = 63.25199 
  GAM s.wam loop 4: deviance = 63.13399 
  GAM s.wam loop 5: deviance = 63.11016 
  GAM s.wam loop 6: deviance = 63.10748 
  GAM s.wam loop 7: deviance = 63.10727 
  GAM s.wam loop 8: deviance = 63.10725 
  GAM s.wam loop 9: deviance = 63.10725 
  ── 1. Error: (unknown) (@test-brms.R#14)  ──────────────────────────────────────
  Service Unavailable (HTTP 503).
  1: insight::download_model("brms_mixed_6") at testthat/test-brms.R:14
  2: .download_data_github(name, url)
  3: httr::stop_for_status(request)
  
  Gu & Wahba 4 term additive model
  GAMLSS-RS iteration 1: Global Deviance = 4771.925 
  GAMLSS-CG iteration 1: Global Deviance = 4771.013 
  GAMLSS-CG iteration 2: Global Deviance = 4770.994 
  GAMLSS-CG iteration 3: Global Deviance = 4770.994 
  4 term additive + random effectGu & Wahba 4 term additive model
  
   Maximum number of PQL iterations:  20 
  Gu & Wahba 4 term additive model
  (Intercept)    tensionM    tensionH 
     36.38889   -10.00000   -14.72222 
  Warning: Data frame is empty, probably component 'all' does not exist in the random-part of the model?
  Warning: Data frame is empty, probably you have an intercept-only model?
  Warning: Data frame is empty, probably component 'dispersion' does not exist in the random-part of the model?
  Estimating SMNL model 
  Fitting one lmer() model. [DONE]
  Calculating p-values. [DONE]
  Fitting one lmer() model. [DONE]
  Calculating p-values. [DONE]
  # weights:  6 (5 variable)
  initial  value 131.004817 
  iter  10 value 108.535568
  final  value 108.535541 
  converged
  VGLM    linear loop  1 :  deviance = 5.181115
  VGLM    linear loop  2 :  deviance = 5.129147
  VGLM    linear loop  3 :  deviance = 5.129141
  VGLM    linear loop  4 :  deviance = 5.129141
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 1709 SKIPPED: 7 WARNINGS: 68 FAILED: 1
  1. Error: (unknown) (@test-brms.R#14) 
  
  Error: testthat unit tests failed
  Execution halted