Running 'testthat.R' [38s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(modelbased)
  > 
  > test_check("modelbased")
  -- 1. Error: estimate_contrasts (@test-estimate_contrasts.R#3)  ----------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. modelbased::estimate_contrasts(insight::download_model("stanreg_lm_6"))
   2. insight::download_model("stanreg_lm_6")
   3. insight:::.download_data_github(name, url)
   4. httr::GET(url)
   5. httr:::request_perform(req, hu$handle$handle)
   7. httr:::request_fetch.write_memory(req$output, req$url, handle)
   8. curl::curl_fetch_memory(url, handle = handle)
  
  -- 2. Error: estimate_means (@test-estimate_means.R#8)  ------------------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. modelbased::estimate_means(insight::download_model("stanreg_lm_6"))
   2. insight::download_model("stanreg_lm_6")
   3. insight:::.download_data_github(name, url)
   4. httr::GET(url)
   5. httr:::request_perform(req, hu$handle$handle)
   7. httr:::request_fetch.write_memory(req$output, req$url, handle)
   8. curl::curl_fetch_memory(url, handle = handle)
  
  -- 3. Error: estimate_response - Bayesian (@test-estimate_response.R#4)  -------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. modelbased::estimate_response(...)
   2. insight::download_model("stanreg_lm_5")
   3. insight:::.download_data_github(name, url)
   4. httr::GET(url)
   5. httr:::request_perform(req, hu$handle$handle)
   7. httr:::request_fetch.write_memory(req$output, req$url, handle)
   8. curl::curl_fetch_memory(url, handle = handle)
  
  -- 4. Error: estimate_response - Frequentist (@test-estimate_response.R#27)  ---
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
   1. modelbased::estimate_response(insight::download_model("lm_2"))
   2. insight::download_model("lm_2")
   3. insight:::.download_data_github(name, url)
   4. httr::GET(url)
   5. httr:::request_perform(req, hu$handle$handle)
   7. httr:::request_fetch.write_memory(req$output, req$url, handle)
   8. curl::curl_fetch_memory(url, handle = handle)
  
  == testthat results  ===========================================================
  [ OK: 35 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: estimate_contrasts (@test-estimate_contrasts.R#3) 
  2. Error: estimate_means (@test-estimate_means.R#8) 
  3. Error: estimate_response - Bayesian (@test-estimate_response.R#4) 
  4. Error: estimate_response - Frequentist (@test-estimate_response.R#27) 
  
  Error: testthat unit tests failed
  Execution halted