- using R version 4.6.0 alpha (2026-03-26 r89725)
- using platform: aarch64-apple-darwin23
- R was compiled by
Apple clang version 17.0.0 (clang-1700.3.19.1)
GNU Fortran (GCC) 14.2.0
- running under: macOS Sequoia 15.7.1
- using session charset: UTF-8
* current time: 2026-03-28 02:31:54 UTC
- checking for file ‘BFS/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘BFS’ version ‘0.7.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘BFS’ can be installed ... [1s/1s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [1s/1s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [0s/10s] 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]:
Connection 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
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [5s/412s] OK
Running ‘testthat.R’ [5s/412s]
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '