- using R Under development (unstable) (2025-12-17 r89193)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘BFS/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘BFS’ version ‘0.7.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- 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 serialization versions ... OK
- checking whether package ‘BFS’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [6s/8s] OK
- checking Rd files ... [0s/1s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [2s/5s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [14s/177s] ERROR
Running ‘testthat.R’ [14s/177s]
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")
=>----------------------------- 2% | ETA: 1m
==>---------------------------- 8% | ETA: 1m
====>-------------------------- 12% | ETA: 1m
=====>------------------------- 18% | ETA: 49s
=======>----------------------- 23% | ETA: 45s
========>---------------------- 27% | ETA: 43s
==========>-------------------- 33% | ETA: 40s
===========>------------------- 37% | ETA: 38s
=============>----------------- 43% | ETA: 34s
==============>---------------- 48% | ETA: 31s
================>-------------- 53% | ETA: 28s
==================>------------ 58% | ETA: 24s
===================>----------- 64% | ETA: 21s
=====================>--------- 69% | ETA: 18s
======================>-------- 75% | ETA: 15s
========================>------ 80% | ETA: 12s
==========================>---- 85% | ETA: 9s
===========================>--- 90% | ETA: 6s
=============================>- 96% | ETA: 2s
Saving _problems/test-bfs_get_data_comments-9.R
> Waiting 15s for retry backoff
[ FAIL 1 | WARN 0 | SKIP 9 | PASS 59 ]
══ 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_data_comments.R:5:3'): bfs_get_data_comments() works ───
<http_429/http_400/http_error/error/condition>
Error in `pxweb_advanced_get(url = url, query = query, verbose = verbose)`: Too Many Requests (RFC 6585) (HTTP 429).
Backtrace:
▆
1. └─BFS::bfs_get_data_comments(...) at test-bfs_get_data_comments.R:5:3
2. └─pxweb::pxweb_get(url = pxweb_api_url, query = pxq)
3. └─pxweb::pxweb_advanced_get(url = url, query = query, verbose = verbose)
4. └─pxweb::pxweb_get(px)
5. └─pxweb::pxweb_advanced_get(url = url, query = query, verbose = verbose)
6. └─httr::stop_for_status(r)
[ FAIL 1 | WARN 0 | SKIP 9 | PASS 59 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR