Last updated on 2025-12-14 02:49:07 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.7.4 | 5.02 | 50.88 | 55.90 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.7.4 | 3.54 | 40.76 | 44.30 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.7.4 | 10.00 | 77.72 | 87.72 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.7.4 | 9.00 | 86.98 | 95.98 | OK | |
| r-devel-windows-x86_64 | 0.7.4 | 7.00 | 72.00 | 79.00 | OK | |
| r-patched-linux-x86_64 | 0.7.4 | 6.15 | 45.84 | 51.99 | ERROR | |
| r-release-linux-x86_64 | 0.7.4 | 5.19 | 47.40 | 52.59 | OK | |
| r-release-macos-arm64 | 0.7.4 | OK | ||||
| r-release-macos-x86_64 | 0.7.4 | 4.00 | 139.00 | 143.00 | OK | |
| r-release-windows-x86_64 | 0.7.4 | 8.00 | 74.00 | 82.00 | OK | |
| r-oldrel-macos-arm64 | 0.7.4 | OK | ||||
| r-oldrel-macos-x86_64 | 0.7.4 | 5.00 | 173.00 | 178.00 | OK | |
| r-oldrel-windows-x86_64 | 0.7.4 | 10.00 | 81.00 | 91.00 | OK |
Version: 0.7.4
Check: examples
Result: ERROR
Running examples in ‘photon-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: new_photon
> ### Title: Initialize a photon instance
> ### Aliases: new_photon
>
> ### ** Examples
>
> # connect to public API
> photon <- new_photon()
>
> # connect to arbitrary server
> photon <- new_photon(url = "https://photonserver.org")
>
> if (has_java("11")) {
+ # set up a local instance in a temporary directory
+ dir <- file.path(tempdir(), "photon")
+ photon <- new_photon(dir, country = "Monaco")
+ }
ℹ openjdk version "21.0.10-ea" 2026-01-20
ℹ OpenJDK Runtime Environment (build 21.0.10-ea+4-Debian-1)
ℹ OpenJDK 64-Bit Server VM (build 21.0.10-ea+4-Debian-1, mixed mode, sharing)
ℹ Fetching OpenSearch photon 0.7.4.
Downloading 90% ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 0s
Downloading 100% ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 0s
ℹ Fetching OpenSearch photon 0.7.4.
✔ Successfully downloaded OpenSearch photon 0.7.4. [3.2s]
ℹ Fetching search index for Monaco, created on latest
Error in `httr2::req_perform()`:
! Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_disk()`:
! Timeout was reached [download1.graphhopper.com]:
Connection timed out after 10000 milliseconds
Backtrace:
▆
1. └─photon::new_photon(dir, country = "Monaco")
2. └─photon_local$new(...)
3. └─photon (local) initialize(...)
4. └─photon:::setup_photon_directory(...)
5. └─photon::download_searchindex(...)
6. └─httr2::req_perform(req, path = path)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─rlang::cnd_signal(resp)
✖ Failed to download search index. [10.2s]
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.7.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [4s/15s]
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(photon)
>
> test_check("photon")
Saving _problems/test-setup-54.R
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 53 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test-geocode.R:1:1', 'test-setup.R:23:3', 'test-setup.R:67:3',
'test-setup.R:81:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-setup.R:54:3'): search indices are matched ─────────────────────
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(req)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached [download1.graphhopper.com]:
Connection timed out after 10001 milliseconds
Backtrace:
▆
1. └─photon::download_searchindex(...) at test-setup.R:54:3
2. ├─httr2::resp_body_string(httr2::req_perform(req))
3. │ └─httr2:::check_response(resp)
4. │ └─httr2:::is_response(resp)
5. └─httr2::req_perform(req)
6. └─httr2:::handle_resp(req, resp, error_call = error_call)
7. └─rlang::cnd_signal(resp)
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 53 ]
Error:
! Test failures.
Execution halted
Flavor: r-patched-linux-x86_64