Running ‘testthat.R’ [50s/66s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Eunomia)
  > test_check("Eunomia")
  trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip'
  Content type 'application/zip' length 6861852 bytes (6.5 MB)
  ==================================================
  downloaded 6.5 MB
  
  trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip'
  Content type 'application/zip' length 6861852 bytes (6.5 MB)
  ==================================================
  downloaded 6.5 MB
  
  trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip'
  Content type 'application/zip' length 6861852 bytes (6.5 MB)
  ==================================================
  downloaded 6.5 MB
  
  trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/Synthea27Nj/Synthea27Nj_5.4.zip'
  Saving _problems/test-EunomiaData-14.R
    adding: tmp/RtmpslHney/file20589915110c8csomefile.txt (stored 0%)
  trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip'
  Content type 'application/zip' length 6861852 bytes (6.5 MB)
  ==================================================
  downloaded 6.5 MB
  
  trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip'
  Content type 'application/zip' length 6861852 bytes (6.5 MB)
  ==================================================
  downloaded 6.5 MB
  
  Cohorts created in table main.cohort
  Cohorts created in table main.cohort
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 66 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-EunomiaData.R:14:3'): Eunomia works with 5.4 ───────────────────
  Error in `utils::download.file(url = paste(baseUrl, datasetName, zipName, sep = "/"), destfile = file.path(pathToData, zipName))`: cannot open URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/Synthea27Nj/Synthea27Nj_5.4.zip'
  Backtrace:
      ▆
   1. └─Eunomia::getDatabaseFile(...) at test-EunomiaData.R:14:3
   2.   └─Eunomia::downloadEunomiaData(...)
   3.     └─utils::download.file(...)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 66 ]
  Error:
  ! Test failures.
  Execution halted