Running 'testthat.R' [529s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(logib)
  > 
  > test_check("logib")
  trying URL 'https://logib.admin.ch/assets/Data/Beispiel_Datenblatt_M1.xlsx'
  trying URL 'https://logib.admin.ch/assets/Data/Exemple_feuille_de_donn%C3%A9es_M1.xlsx'
  trying URL 'https://logib.admin.ch/assets/Data/Esempio_foglio_di_dati_M1.xlsx'
  trying URL 'https://logib.admin.ch/assets/Data/Example_data_sheet_M1.xlsx'
  trying URL 'https://logib.admin.ch/assets/Data/Example_data_sheet_M1.xlsx'
  Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 33840 bytes (33 KB)
  ==================================================
  downloaded 33 KB
  
  trying URL 'https://logib.admin.ch/assets/Data/Datalist_d.xlsx'
  trying URL 'https://logib.admin.ch/assets/Data/Datalist_f.xlsx'
  trying URL 'https://logib.admin.ch/assets/Data/Datalist_i.xlsx'
  trying URL 'https://logib.admin.ch/assets/Data/Datalist_e.xlsx'
  [ FAIL 8 | WARN 8 | SKIP 0 | PASS 4 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-analysis.R:42:3'): analysis() returns the correct results using downloaded example data DE ──
  Error in `utils::download.file(url, file, mode = "wb")`: cannot open URL 'https://logib.admin.ch/assets/Data/Beispiel_Datenblatt_M1.xlsx'
  Backtrace:
      ▆
   1. └─logib::download_example_datalist(...) at test-analysis.R:42:3
   2.   └─utils::download.file(url, file, mode = "wb")
  ── Error ('test-analysis.R:62:3'): analysis() returns the correct results using downloaded example data FR ──
  Error in `utils::download.file(url, file, mode = "wb")`: cannot open URL 'https://logib.admin.ch/assets/Data/Exemple_feuille_de_donn%C3%A9es_M1.xlsx'
  Backtrace:
      ▆
   1. └─logib::download_example_datalist(...) at test-analysis.R:62:3
   2.   └─utils::download.file(url, file, mode = "wb")
  ── Error ('test-analysis.R:82:3'): analysis() returns the correct results using downloaded example data IT ──
  Error in `utils::download.file(url, file, mode = "wb")`: cannot open URL 'https://logib.admin.ch/assets/Data/Esempio_foglio_di_dati_M1.xlsx'
  Backtrace:
      ▆
   1. └─logib::download_example_datalist(...) at test-analysis.R:82:3
   2.   └─utils::download.file(url, file, mode = "wb")
  ── Error ('test-analysis.R:102:3'): analysis() returns the correct results using downloaded example data EN ──
  Error in `utils::download.file(url, file, mode = "wb")`: cannot open URL 'https://logib.admin.ch/assets/Data/Example_data_sheet_M1.xlsx'
  Backtrace:
      ▆
   1. └─logib::download_example_datalist(...) at test-analysis.R:102:3
   2.   └─utils::download.file(url, file, mode = "wb")
  ── Error ('test-download.R:11:3'): Datalist DE can be downloaded and has correct variable names ──
  Error in `utils::download.file(url, file, mode = "wb")`: cannot open URL 'https://logib.admin.ch/assets/Data/Datalist_d.xlsx'
  Backtrace:
      ▆
   1. └─logib::download_datalist(...) at test-download.R:11:3
   2.   └─utils::download.file(url, file, mode = "wb")
  ── Error ('test-download.R:17:3'): Datalist FR can be downloaded and has correct variable names ──
  Error in `utils::download.file(url, file, mode = "wb")`: cannot open URL 'https://logib.admin.ch/assets/Data/Datalist_f.xlsx'
  Backtrace:
      ▆
   1. └─logib::download_datalist(...) at test-download.R:17:3
   2.   └─utils::download.file(url, file, mode = "wb")
  ── Error ('test-download.R:23:3'): Datalist IT can be downloaded and has correct variable names ──
  Error in `utils::download.file(url, file, mode = "wb")`: cannot open URL 'https://logib.admin.ch/assets/Data/Datalist_i.xlsx'
  Backtrace:
      ▆
   1. └─logib::download_datalist(...) at test-download.R:23:3
   2.   └─utils::download.file(url, file, mode = "wb")
  ── Error ('test-download.R:29:3'): Datalist EN can be downloaded and has correct variable names ──
  Error in `utils::download.file(url, file, mode = "wb")`: cannot open URL 'https://logib.admin.ch/assets/Data/Datalist_e.xlsx'
  Backtrace:
      ▆
   1. └─logib::download_datalist(...) at test-download.R:29:3
   2.   └─utils::download.file(url, file, mode = "wb")
  
  [ FAIL 8 | WARN 8 | SKIP 0 | PASS 4 ]
  Error: Test failures
  Execution halted