Last updated on 2026-06-20 00:49:26 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.7.1 | 5.66 | 74.99 | 80.65 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.7.1 | 3.61 | 51.72 | 55.33 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.7.1 | 8.00 | 104.75 | 112.75 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.7.1 | 8.00 | 104.11 | 112.11 | OK | |
| r-devel-windows-x86_64 | 0.7.1 | 9.00 | 234.00 | 243.00 | OK | |
| r-patched-linux-x86_64 | 0.7.1 | 4.61 | 61.11 | 65.72 | OK | |
| r-release-linux-x86_64 | 0.7.1 | 4.40 | 60.94 | 65.34 | OK | |
| r-release-macos-arm64 | 0.7.1 | 1.00 | 460.00 | 461.00 | ERROR | |
| r-release-macos-x86_64 | 0.7.1 | 4.00 | 473.00 | 477.00 | OK | |
| r-release-windows-x86_64 | 0.7.1 | 9.00 | 1081.00 | 1090.00 | ERROR | |
| r-oldrel-macos-arm64 | 0.7.1 | 1.00 | 414.00 | 415.00 | OK | |
| r-oldrel-macos-x86_64 | 0.7.1 | 4.00 | 474.00 | 478.00 | OK | |
| r-oldrel-windows-x86_64 | 0.7.1 | 11.00 | 240.00 | 251.00 | OK |
Version: 0.7.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [26s/191s]
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(BFS)
>
> test_check("BFS")
Saving _problems/test-bfs_download_asset-6.R
Saving _problems/test-bfs_get_asset_metadata-5.R
Saving _problems/test-bfs_get_asset_metadata-14.R
> Waiting 1.1s for retry backoff
Saving _problems/test-bfs_get_catalog_data-5.R
> Waiting 1.8s for retry backoff
Saving _problems/test-bfs_get_catalog_data-13.R
> Waiting 1.1s for retry backoff
Saving _problems/test-bfs_get_catalog_data-20.R
> Waiting 1.5s for retry backoff
Saving _problems/test-bfs_get_catalog_data-27.R
> Waiting 1.3s for retry backoff
Saving _problems/test-bfs_get_catalog_data-34.R
==>---------------------------- 5% | ETA: 1m
===>--------------------------- 10% | ETA: 1m
====>-------------------------- 14% | ETA: 1m
======>------------------------ 19% | ETA: 1m
=======>----------------------- 24% | ETA: 50s
=========>--------------------- 28% | ETA: 46s
==========>-------------------- 33% | ETA: 43s
===========>------------------- 37% | ETA: 42s
============>------------------ 41% | ETA: 39s
==============>---------------- 45% | ETA: 37s
===============>--------------- 49% | ETA: 35s
================>-------------- 54% | ETA: 31s
=================>------------- 57% | ETA: 29s
==================>------------ 61% | ETA: 27s
====================>---------- 66% | ETA: 24s
=====================>--------- 70% | ETA: 20s
=======================>------- 75% | ETA: 17s
========================>------ 80% | ETA: 13s
=========================>----- 84% | ETA: 11s
===========================>--- 89% | ETA: 8s
============================>-- 93% | ETA: 5s
=============================>- 97% | ETA: 2s
> Waiting 1.4s for retry backoff
Saving _problems/test-bfs_get_catalog_tables-5.R
> Waiting 1.4s for retry backoff
Saving _problems/test-bfs_get_catalog_tables-13.R
> Waiting 1.8s for retry backoff
Saving _problems/test-bfs_get_catalog_tables-20.R
[ FAIL 11 | WARN 0 | SKIP 9 | PASS 37 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• On CRAN (9): 'test-bfs_download_geodata.R:6:3',
'test-bfs_get_base_maps.R:5:3', 'test-bfs_get_base_maps.R:15:3',
'test-bfs_get_base_maps.R:25:3', 'test-bfs_get_base_maps.R:35:3',
'test-bfs_get_base_maps.R:45:3', 'test-bfs_get_base_maps.R:53:3',
'test-bfs_get_base_maps.R:63:3', 'test-bfs_get_base_maps.R:73:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-bfs_download_asset.R:6:3'): bfs_download_asset() works ─────────
<curl_error_http_returned_error/curl_error/error/condition>
Error in `curl::curl_download(url = paste0("https://dam-api.bfs.admin.ch/hub/api/dam/assets/", id, "/master"), destfile = destfile, quiet = quiet, mode = mode, handle = handle)`: HTTP response code said error [dam-api.bfs.admin.ch]:
The requested URL returned error: 503
Backtrace:
▆
1. ├─BFS::bfs_download_asset(number_asset = "24367729", destfile = tmp) at test-bfs_download_asset.R:6:3
2. │ └─curl::curl_download(...)
3. └─curl:::raise_libcurl_error(...)
── Error ('test-bfs_get_asset_metadata.R:5:3'): bfs_get_asset_metadata() returns a none-empty list ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_asset_metadata(number_asset = "24367729") at test-bfs_get_asset_metadata.R:5:3
2. │ └─... %>% httr2::resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_asset_metadata.R:14:3'): bfs_get_asset_metadata() returns a none-empty list ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_asset_metadata(number_bfs = "px-x-1502040100_131") at test-bfs_get_asset_metadata.R:14:3
2. │ └─... %>% httr2::resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_data.R:5:3'): bfs_get_catalog_data() returns a data.frame of 5 rows ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_data(limit = 5) at test-bfs_get_catalog_data.R:5:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_data.R:13:3'): bfs_get_catalog_data() using some arguments ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_data(...) at test-bfs_get_catalog_data.R:13:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_data.R:20:3'): bfs_get_catalog_data() using order_nr argument ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_data(order_nr = "px-x-1502040100_131") at test-bfs_get_catalog_data.R:20:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_data.R:27:3'): bfs_get_catalog_data() using order_nr argument ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_data(order_nr = "px-x-1502040100_131") at test-bfs_get_catalog_data.R:27:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_data.R:34:3'): bfs_get_catalog_data() using prodima argument ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_data(prodima = 900210, limit = 5) at test-bfs_get_catalog_data.R:34:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_tables.R:5:3'): bfs_get_catalog_tables() returns a data.frame of 5 rows ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_tables(limit = 5) at test-bfs_get_catalog_tables.R:5:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_tables.R:13:3'): bfs_get_catalog_tables() using title argument ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_tables(title = "student", limit = 5) at test-bfs_get_catalog_tables.R:13:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_tables.R:20:3'): bfs_get_catalog_tables() using prodima argument ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_tables(prodima = 900210, limit = 5) at test-bfs_get_catalog_tables.R:20:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
[ FAIL 11 | WARN 0 | SKIP 9 | PASS 37 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.7.1
Check: examples
Result: ERROR
Running examples in ‘BFS-Ex.R’ failed
The error most likely occurred in:
> ### Name: bfs_get_sse_data
> ### Title: Get Data from Swiss Stats Explorer (SSE) API
> ### Aliases: bfs_get_sse_data
>
> ### ** Examples
>
> bfs_get_sse_data(
+ number_bfs = "DF_PASTA_552_MONTHLY",
+ language = "en",
+ query = list("FREQ" = "M", "ACCOMMODATION_TYPE" = c("552001"),
+ "COUNTRY_ORIGIN" = c("CH", "AUSL")),
+ start_period = "2020",
+ end_period = "2023"
+ )
Error in `httr2::req_perform()`:
! Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached [disseminate.stats.swiss]:
Resolving timed out after 10002 milliseconds
Backtrace:
▆
1. ├─BFS::bfs_get_sse_data(...)
2. │ └─BFS:::bfs_get_sse_url(number_bfs)
3. │ └─... %>% httr2::resp_body_json(simplifyVector = TRUE)
4. ├─httr2::resp_body_json(., simplifyVector = TRUE)
5. │ └─httr2:::check_response(resp)
6. │ └─httr2:::is_response(resp)
7. └─httr2::req_perform(.)
8. └─httr2:::handle_resp(req, resp, error_call = error_call)
9. └─rlang::cnd_signal(resp)
Execution halted
Flavor: r-release-macos-arm64
Version: 0.7.1
Check: tests
Result: ERROR
Running 'testthat.R' [17m]
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(BFS)
>
> test_check("BFS")
Saving _problems/test-bfs_download_asset-6.R
Saving _problems/test-bfs_get_asset_metadata-5.R
Saving _problems/test-bfs_get_asset_metadata-14.R
> Waiting 1.7s for retry backoff
Saving _problems/test-bfs_get_catalog_data-5.R
> Waiting 1.9s for retry backoff
Saving _problems/test-bfs_get_catalog_data-13.R
> Waiting 2s for retry backoff
Saving _problems/test-bfs_get_catalog_data-20.R
> Waiting 1.9s for retry backoff
Saving _problems/test-bfs_get_catalog_data-27.R
> Waiting 1.1s for retry backoff
Saving _problems/test-bfs_get_catalog_data-34.R
==>---------------------------- 6% | ETA: 1m
====>-------------------------- 12% | ETA: 47s
=====>------------------------- 18% | ETA: 43s
=======>----------------------- 24% | ETA: 40s
========>---------------------- 28% | ETA: 40s
==========>-------------------- 34% | ETA: 36s
============>------------------ 40% | ETA: 32s
=============>----------------- 44% | ETA: 31s
===============>--------------- 50% | ETA: 27s
================>-------------- 55% | ETA: 25s
==================>------------ 60% | ETA: 22s
====================>---------- 66% | ETA: 18s
=====================>--------- 71% | ETA: 16s
=======================>------- 76% | ETA: 13s
========================>------ 81% | ETA: 11s
==========================>---- 86% | ETA: 8s
============================>-- 92% | ETA: 4s
=============================>- 98% | ETA: 1s
> Waiting 1.4s for retry backoff
Saving _problems/test-bfs_get_catalog_tables-5.R
> Waiting 1.4s for retry backoff
Saving _problems/test-bfs_get_catalog_tables-13.R
> Waiting 1.9s for retry backoff
Saving _problems/test-bfs_get_catalog_tables-20.R
[ FAIL 11 | WARN 0 | SKIP 9 | PASS 37 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• On CRAN (9): 'test-bfs_download_geodata.R:6:3',
'test-bfs_get_base_maps.R:5:3', 'test-bfs_get_base_maps.R:15:3',
'test-bfs_get_base_maps.R:25:3', 'test-bfs_get_base_maps.R:35:3',
'test-bfs_get_base_maps.R:45:3', 'test-bfs_get_base_maps.R:53:3',
'test-bfs_get_base_maps.R:63:3', 'test-bfs_get_base_maps.R:73:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-bfs_download_asset.R:6:3'): bfs_download_asset() works ─────────
<curl_error_recv_error/curl_error/error/condition>
Error in `curl::curl_download(url = paste0("https://dam-api.bfs.admin.ch/hub/api/dam/assets/", id, "/master"), destfile = destfile, quiet = quiet, mode = mode, handle = handle)`: Failure when receiving data from the peer [dam-api.bfs.admin.ch]:
schannel: server closed abruptly (missing close_notify)
Backtrace:
▆
1. ├─BFS::bfs_download_asset(number_asset = "24367729", destfile = tmp) at test-bfs_download_asset.R:6:3
2. │ └─curl::curl_download(...)
3. └─curl:::raise_libcurl_error(...)
── Error ('test-bfs_get_asset_metadata.R:5:3'): bfs_get_asset_metadata() returns a none-empty list ──
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `httr2::req_perform(.)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Failure when receiving data from the peer [dam-api.bfs.admin.ch]:
schannel: server closed abruptly (missing close_notify)
Backtrace:
▆
1. ├─BFS::bfs_get_asset_metadata(number_asset = "24367729") at test-bfs_get_asset_metadata.R:5:3
2. │ └─... %>% httr2::resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─rlang::cnd_signal(resp)
── Error ('test-bfs_get_asset_metadata.R:14:3'): bfs_get_asset_metadata() returns a none-empty list ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `httr2::req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_asset_metadata(number_bfs = "px-x-1502040100_131") at test-bfs_get_asset_metadata.R:14:3
2. │ └─... %>% httr2::resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_data.R:5:3'): bfs_get_catalog_data() returns a data.frame of 5 rows ──
<httr2_failure/httr2_error/rlang_error/error/condition>
Error in `req_perform(.)`: Failed to perform HTTP request.
Caused by error in `curl::curl_fetch_memory()`:
! Timeout was reached [dam-api.bfs.admin.ch]:
Operation too slow. Less than 1 bytes/sec transferred the last 600 seconds
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_data(limit = 5) at test-bfs_get_catalog_data.R:5:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─rlang::cnd_signal(resp)
── Error ('test-bfs_get_catalog_data.R:13:3'): bfs_get_catalog_data() using some arguments ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_data(...) at test-bfs_get_catalog_data.R:13:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_data.R:20:3'): bfs_get_catalog_data() using order_nr argument ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_data(order_nr = "px-x-1502040100_131") at test-bfs_get_catalog_data.R:20:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_data.R:27:3'): bfs_get_catalog_data() using order_nr argument ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_data(order_nr = "px-x-1502040100_131") at test-bfs_get_catalog_data.R:27:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_data.R:34:3'): bfs_get_catalog_data() using prodima argument ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_data(prodima = 900210, limit = 5) at test-bfs_get_catalog_data.R:34:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_tables.R:5:3'): bfs_get_catalog_tables() returns a data.frame of 5 rows ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_tables(limit = 5) at test-bfs_get_catalog_tables.R:5:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_tables.R:13:3'): bfs_get_catalog_tables() using title argument ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_tables(title = "student", limit = 5) at test-bfs_get_catalog_tables.R:13:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
── Error ('test-bfs_get_catalog_tables.R:20:3'): bfs_get_catalog_tables() using prodima argument ──
<httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
Error in `req_perform(.)`: HTTP 503 Service Unavailable.
Backtrace:
▆
1. ├─BFS::bfs_get_catalog_tables(prodima = 900210, limit = 5) at test-bfs_get_catalog_tables.R:20:3
2. │ └─... %>% resp_body_json(simplifyVector = TRUE)
3. ├─httr2::resp_body_json(., simplifyVector = TRUE)
4. │ └─httr2:::check_response(resp)
5. │ └─httr2:::is_response(resp)
6. └─httr2::req_perform(.)
7. └─httr2:::handle_resp(req, resp, error_call = error_call)
8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
9. ├─rlang::catch_cnd(...)
10. │ ├─rlang::eval_bare(...)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
15. │ └─base::force(expr)
16. └─rlang::abort(...)
[ FAIL 11 | WARN 0 | SKIP 9 | PASS 37 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-windows-x86_64