Last updated on 2026-04-29 21:49:11 CEST.
| Package | ERROR | OK |
|---|---|---|
| aniview | 13 | |
| aos | 13 | |
| BFS | 3 | 10 |
| gotop | 13 | |
| muiMaterial | 13 | |
| muiTreeView | 13 | |
| reactRouter | 13 | |
| xlcharts | 13 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 3, OK: 10
Version: 0.7.1
Check: tests
Result: ERROR
Running 'testthat.R' [160s]
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")
>------------------------------ 1% | ETA: 2m
==>---------------------------- 8% | ETA: 1m
====>-------------------------- 13% | ETA: 47s
======>------------------------ 19% | ETA: 44s
=======>----------------------- 25% | ETA: 41s
=========>--------------------- 30% | ETA: 38s
===========>------------------- 35% | ETA: 36s
============>------------------ 40% | ETA: 33s
==============>---------------- 46% | ETA: 29s
===============>--------------- 50% | ETA: 28s
=================>------------- 56% | ETA: 25s
==================>------------ 60% | ETA: 23s
====================>---------- 66% | ETA: 19s
======================>-------- 72% | ETA: 16s
=======================>------- 77% | ETA: 13s
========================>------ 81% | ETA: 11s
==========================>---- 86% | ETA: 8s
============================>-- 92% | ETA: 5s
=============================>- 97% | ETA: 2s
Saving _problems/test-bfs_get_sse_data-42.R
[ FAIL 1 | WARN 0 | SKIP 9 | PASS 52 ]
══ 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_get_sse_data.R:42:3'): bfs_get_sse_data() works ────────────
Error in `bfs_get_sse_data("DF_SSV_POL_EXE")`: No records found for the specified query.
Backtrace:
▆
1. ├─testthat::expect_message(bfs_get_sse_data("DF_SSV_POL_EXE")) at test-bfs_get_sse_data.R:42: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. └─BFS::bfs_get_sse_data("DF_SSV_POL_EXE")
[ FAIL 1 | WARN 0 | SKIP 9 | PASS 52 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
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
Flavors: r-release-macos-arm64, r-release-macos-x86_64
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13