Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(rcrisp)
  > 
  > test_check("rcrisp")
  Error in `FUN()`:
  ! In path: "/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/rcrisp.Rcheck/tests/testthat/helper-exampledata.R"
  Caused by error in `download.file()`:
  ! cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61'
  Backtrace:
       ▆
    1. ├─testthat::test_check("rcrisp")
    2. │ └─testthat::test_dir(...)
    3. │   └─testthat:::test_files(...)
    4. │     └─testthat:::test_files_serial(...)
    5. │       └─testthat:::test_files_setup_state(...)
    6. │         └─testthat::source_test_helpers(".", env)
    7. │           └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE)
    8. │             └─base::lapply(...)
    9. │               └─testthat (local) FUN(X[[i]], ...)
   10. │                 └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
   11. │                   ├─base::withCallingHandlers(...)
   12. │                   └─base::eval(exprs, env)
   13. │                     └─base::eval(exprs, env)
   14. │                       └─rcrisp::get_osm_example_data() at tests/testthat/helper-exampledata.R:2:1
   15. │                         └─utils::download.file(...)
   16. └─base::.handleSimpleError(...)
   17.   └─testthat (local) h(simpleError(msg, call))
   18.     └─rlang::abort(...)
  Warning message:
  In download.file(url_osm, destfile = temp_file, mode = "wb", quiet = TRUE) :
    cannot open URL 'https://data.4tu.nl/file/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386/f519315e-b92d-4815-b924-3175bd2a7a61': HTTP status was '502 Bad Gateway'
  Execution halted