- using R Under development (unstable) (2026-03-27 r89731)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 22.1.2 (https://github.com/llvm/llvm-project 1ab49a973e210e97d61e5db6557180dcb92c3e98)
flang version 22.1.2 (https://github.com/llvm/llvm-project 1ab49a973e210e97d61e5db6557180dcb92c3e98)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-03-28 18:24:31 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘blscrapeR/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘blscrapeR’ version ‘4.0.1’
- 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 ‘blscrapeR’ can be installed ... [10s/13s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... 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 ... [10s/15s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/73s] ERROR
Running examples in ‘blscrapeR-Ex.R’ failed
The error most likely occurred in:
> ### Name: dateCast
> ### Title: Cast a date column to data frame returned by the bls_api()
> ### function
> ### Aliases: dateCast
>
> ### ** Examples
>
>
> ## Cast a date column to data frame returned by the bls_api() function.
> df <- bls_api("LAUCN040010000000005") %>%
+ dateCast()
Error in curl::curl_fetch_memory(url, handle = handle) :
Failure when receiving data from the peer [api.bls.gov]:
Recv failure: Connection reset by peer
Calls: %>% ... request_fetch.write_memory -> <Anonymous> -> raise_libcurl_error
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(blscrapeR)
>
> test_check("blscrapeR")
Saving _problems/test_bls_api-19.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_bls_api.R:19:1'): (code run outside of `test_that()`) ──────────
<curl_error_recv_error/curl_error/error/condition>
Error in `curl::curl_fetch_memory(url, handle = handle)`: Failure when receiving data from the peer [api.bls.gov]:
Recv failure: Connection reset by peer
Backtrace:
▆
1. ├─httr::content(POST(base_url, body = payload, content_type_json())) at test_bls_api.R:19:1
2. │ ├─base::stopifnot(is.response(x))
3. │ └─httr:::is.response(x)
4. ├─httr::POST(base_url, body = payload, content_type_json())
5. │ └─httr:::request_perform(req, hu$handle$handle)
6. │ ├─httr:::request_fetch(req$output, req$url, handle)
7. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle)
8. │ └─curl::curl_fetch_memory(url, handle = handle)
9. └─curl:::raise_libcurl_error(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [8s/13s] OK
- checking PDF version of manual ... [9s/13s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs