Package: osrm.backend Check: tests New result: ERROR Running ‘testthat.R’ [3s/17s] 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(osrm.backend) > > test_check("osrm.backend") Running on CRAN: Skipping OSRM binary installation. Added '/home/hornik/tmp/scratch/RtmpFdVpdC' to PATH for this session. '/home/hornik/tmp/scratch/RtmpFdVpdC' is already first in PATH. Saving _problems/test-osrm_start-7.R DRY RUN: Would remove the following files: - data.osrm.geometry - data.osrm.hsgr - data.osrm.timestamp Directory: /home/hornik/tmp/scratch/RtmpFdVpdC/file42f414ef5ec75 Total files: 3 [ FAIL 1 | WARN 0 | SKIP 16 | PASS 177 ] ══ Skipped tests (16) ══════════════════════════════════════════════════════════ • OSRM binary not found (Skipping Server Tests) (1): 'test-osrm_server.R:9:3' • On CRAN (15): 'test-osrm_extract.R:2:3', 'test-osrm_extract.R:67:3', 'test-osrm_extract.R:130:3', 'test-osrm_extract.R:165:3', 'test-osrm_extract.R:182:3', 'test-osrm_start.R:17:3', 'test-osrm_start.R:35:3', 'test-osrm_start.R:46:3', 'test-osrm_start.R:95:3', 'test-osrm_start.R:157:3', 'test-osrm_which.R:5:3', 'test-osrm_which.R:18:3', 'test-osrm_which.R:26:3', 'test-pipeline-conflicts.R:94:3', 'test-pipeline-conflicts.R:303:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-osrm_start.R:4:3'): osrm_start errors when path doesn't exist ── Error: Failed to download file: Failed to perform HTTP request. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-osrm_start.R:4:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─osrm.backend::osrm_start(path = "/nonexistent/path/xyz123", quiet = TRUE) 8. └─osrm.backend::osrm_install(...) 9. └─base::tryCatch(...) 10. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. └─value[[3L]](cond) [ FAIL 1 | WARN 0 | SKIP 16 | PASS 177 ] Error: ! Test failures. Execution halted