Running ‘testthat.R’ [3s/64s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(DataQualityDashboard)
  Loading required package: DatabaseConnector
  > 
  > test_check("DataQualityDashboard")
  Consider adding `DATABASECONNECTOR_JAR_FOLDER='/tmp/RtmpkDF0Ml/jdbcDrivers820da3ed68055'` to /home/hornik/.Renviron and restarting R.
  trying URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar'
  Content type 'application/java-archive' length 1089312 bytes (1.0 MB)
  
  downloaded 0 bytes
  
  Error in `source_dir()`:
  ! Failed to evaluate './setup.R'.
  Caused by error in `download.file()`:
  ! download from 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar' failed
  Backtrace:
       ▆
    1. ├─testthat::test_check("DataQualityDashboard")
    2. │ └─testthat::test_dir(...)
    3. │   └─testthat:::test_files(...)
    4. │     └─testthat:::test_files_serial(...)
    5. │       └─testthat:::test_files_setup_state(...)
    6. │         └─testthat::source_test_setup(".", env)
    7. │           └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
    8. │             └─base::lapply(...)
    9. │               └─testthat (local) FUN(X[[i]], ...)
   10. │                 └─testthat::source_file(...)
   11. │                   ├─base::withCallingHandlers(...)
   12. │                   └─base::eval(exprs, env)
   13. │                     └─base::eval(exprs, env)
   14. │                       └─DatabaseConnector::downloadJdbcDrivers("postgresql", jdbcDriverFolder) at ./setup.R:63:3
   15. │                         └─utils::download.file(...)
   16. └─base::.handleSimpleError(...)
   17.   └─testthat (local) h(simpleError(msg, call))
   18.     └─cli::cli_abort(...)
   19.       └─rlang::abort(...)
  Warning messages:
  1: In download.file(url = paste0(driverSource$baseUrl, driverSource$fileName),  :
    downloaded length 0 != reported length 1089312
  2: In download.file(url = paste0(driverSource$baseUrl, driverSource$fileName),  :
    URL 'https://jdbc.postgresql.org/download/postgresql-42.7.3.jar': Timeout of 60 seconds was reached
  Execution halted