Last updated on 2025-12-07 18:50:04 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.0 | 7.72 | 53.85 | 61.57 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.0 | 5.46 | 37.37 | 42.83 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.1.0 | 18.00 | 75.49 | 93.49 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.1.0 | 36.00 | 56.98 | 92.98 | OK | |
| r-devel-windows-x86_64 | 1.1.0 | 9.00 | 70.00 | 79.00 | OK | |
| r-patched-linux-x86_64 | 1.1.0 | 8.17 | 47.55 | 55.72 | OK | |
| r-release-linux-x86_64 | 1.1.0 | 7.51 | 47.14 | 54.65 | OK | |
| r-release-macos-arm64 | 1.0.0 | 3.00 | 16.00 | 19.00 | ERROR | |
| r-release-macos-x86_64 | 1.1.0 | 8.00 | 53.00 | 61.00 | OK | |
| r-release-windows-x86_64 | 1.1.0 | 8.00 | 70.00 | 78.00 | OK | |
| r-oldrel-macos-arm64 | 1.1.0 | 4.00 | 20.00 | 24.00 | OK | |
| r-oldrel-macos-x86_64 | 1.1.0 | 14.00 | 80.00 | 94.00 | OK | |
| r-oldrel-windows-x86_64 | 1.1.0 | 11.00 | 82.00 | 93.00 | OK |
Version: 1.1.0
Check: examples
Result: ERROR
Running examples in ‘routr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: RouteStack
> ### Title: Combine multiple routes for sequential routing
> ### Aliases: RouteStack
>
> ### ** Examples
>
> # Create a new stack
> routes <- RouteStack$new()
>
> # Populate it wih routes
> first <- Route$new()
> first$add_handler('all', '*', function(request, response, keys, ...) {
+ message('This will always get called first')
+ TRUE
+ })
> second <- Route$new()
> second$add_handler('get', '/demo/', function(request, response, keys, ...) {
+ message('This will get called next if the request asks for /demo/')
+ TRUE
+ })
> routes$add_route(first, 'first')
> routes$add_route(second, 'second')
>
> # Send a request through
> rook <- fiery::fake_request('http://example.com/demo/', method = 'get')
Error in loadNamespace(x) : there is no package called ‘fiery’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/5s]
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(routr)
>
> test_check("routr")
Saving _problems/test-openapi_route-34.R
[ FAIL 1 | WARN 0 | SKIP 68 | PASS 90 ]
══ Skipped tests (68) ══════════════════════════════════════════════════════════
• On CRAN (26): 'test-asset_route.R:8:1', 'test-asset_route.R:15:1',
'test-asset_route.R:119:1', 'test-asset_route.R:128:1',
'test-openapi_route.R:1:1', 'test-redirector.R:132:1',
'test-redirector.R:145:1', 'test-report_route.R:2:3',
'test-report_route.R:50:3', 'test-report_route.R:75:3',
'test-report_route.R:100:3', 'test-report_route.R:117:3',
'test-report_route.R:130:3', 'test-report_route.R:162:3',
'test-report_route.R:182:3', 'test-report_route.R:202:3',
'test-report_route.R:240:3', 'test-report_route.R:270:3',
'test-resource_route.R:1:1', 'test-routestack.R:36:1',
'test-routestack.R:44:1', 'test-routestack.R:63:1',
'test-shared_secret_route.R:1:1', 'test-sizelimit_route.R:1:1',
'test-sizelimit_route.R:18:1', 'test-tidy_api.R:99:1'
• {fiery} is not installed. (42): 'test-asset_route.R:156:3',
'test-openapi_route.R:83:3', 'test-openapi_route.R:104:3',
'test-redirector.R:14:3', 'test-redirector.R:34:3', 'test-redirector.R:54:3',
'test-redirector.R:74:3', 'test-redirector.R:94:3',
'test-redirector.R:119:3', 'test-resource_route.R:69:3',
'test-resource_route.R:91:3', 'test-resource_route.R:113:3',
'test-resource_route.R:134:3', 'test-resource_route.R:155:3',
'test-resource_route.R:173:3', 'test-resource_route.R:215:3',
'test-resource_route.R:235:3', 'test-resource_route.R:261:3',
'test-resource_route.R:286:3', 'test-resource_route.R:306:3',
'test-resource_route.R:331:3', 'test-route.R:3:3', 'test-route.R:32:3',
'test-route.R:59:3', 'test-route.R:165:3', 'test-routestack.R:77:3',
'test-routestack.R:120:3', 'test-shared_secret_route.R:31:3',
'test-shared_secret_route.R:53:3', 'test-shared_secret_route.R:72:3',
'test-shared_secret_route.R:90:3', 'test-shared_secret_route.R:116:3',
'test-shared_secret_route.R:133:3', 'test-shared_secret_route.R:165:3',
'test-sizelimit_route.R:45:3', 'test-sizelimit_route.R:64:3',
'test-sizelimit_route.R:83:3', 'test-sizelimit_route.R:111:3',
'test-sizelimit_route.R:142:3', 'test-sizelimit_route.R:155:3',
'test-sizelimit_route.R:176:3', 'test-sizelimit_route.R:211:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-openapi_route.R:34:3'): openapi_route handles yaml spec files ──
<rlib_error_package_not_found/rlang_error/error/condition>
Error in `openapi_route(yaml_spec)`: The package "yaml" is required.
Backtrace:
▆
1. └─routr::openapi_route(yaml_spec) at test-openapi_route.R:34:3
2. └─rlang::check_installed("yaml")
[ FAIL 1 | WARN 0 | SKIP 68 | PASS 90 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/4s]
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(routr)
>
> test_check("routr")
Saving _problems/test-report_route-54.R
Saving _problems/test-report_route-116.R
[ FAIL 2 | WARN 1 | SKIP 23 | PASS 256 ]
══ Skipped tests (23) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-asset_route.R:8:1', 'test-asset_route.R:15:1',
'test-asset_route.R:99:1', 'test-asset_route.R:108:1',
'test-openapi_route.R:1:1', 'test-redirector.R:132:1',
'test-redirector.R:145:1', 'test-report_route.R:1:1',
'test-report_route.R:62:1', 'test-report_route.R:85:1',
'test-resource_route.R:1:1', 'test-route.R:1:1', 'test-route.R:28:1',
'test-route.R:50:1', 'test-route.R:127:1', 'test-routestack.R:36:1',
'test-routestack.R:44:1', 'test-routestack.R:63:1',
'test-shared_secret_route.R:1:1', 'test-sizelimit_route.R:1:1',
'test-sizelimit_route.R:18:1', 'test-sizelimit_route.R:133:1',
'test-tidy_api.R:99:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-report_route.R:54:3'): report_info detects file format correctly ──
Error in `find_quarto()`: Quarto command-line tools path not found!
Please make sure you have installed and added Quarto to your PATH or set the QUARTO_PATH environment variable.
Backtrace:
▆
1. └─routr::report_info(qmd_file) at test-report_route.R:54:3
2. └─routr:::quarto_info(file)
3. └─quarto::quarto_inspect(input)
4. └─quarto:::find_quarto()
5. └─cli::cli_abort(quarto_not_found_msg)
6. └─rlang::abort(...)
── Error ('test-report_route.R:116:3'): quarto_info extracts report information correctly ──
Error in `find_quarto()`: Quarto command-line tools path not found!
Please make sure you have installed and added Quarto to your PATH or set the QUARTO_PATH environment variable.
Backtrace:
▆
1. └─routr:::quarto_info(qmd_file) at test-report_route.R:116:3
2. └─quarto::quarto_inspect(input)
3. └─quarto:::find_quarto()
4. └─cli::cli_abort(quarto_not_found_msg)
5. └─rlang::abort(...)
[ FAIL 2 | WARN 1 | SKIP 23 | PASS 256 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-arm64