Running 'testthat.R' [151s]
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")
   ===>---------------------------    9% |  ETA: 45s
   ===========>-------------------   36% |  ETA: 13s
   ===================>-----------   64% |  ETA:  6s
   ======================>--------   73% |  ETA:  5s
   ====>--------------------------   13% |  ETA: 17s
   =========>---------------------   28% |  ETA: 14s
   =============>-----------------   44% |  ETA: 11s
   =================>-------------   57% |  ETA:  9s
   ======================>--------   73% |  ETA:  6s
   ==========================>----   88% |  ETA:  2s
  Waiting 15s for retry backoff ==>---------------------------- 
  Waiting 15s for retry backoff =======>----------------------- 
  Waiting 15s for retry backoff =============>----------------- 
  Waiting 15s for retry backoff ===================>----------- 
  Waiting 15s for retry backoff =========================>----- 
  Waiting 15s for retry backoff ==============================> 
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 48 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-bfs_get_metadata.R:5:3'): bfs_get_metadata() works ─────────────
  <httr2_http_429/httr2_http/httr2_error/rlang_error/error/condition>
  Error in `httr2::req_perform(.)`: HTTP 429 Too Many Requests.
  Backtrace:
      ▆
   1. ├─BFS::bfs_get_metadata(number_bfs = "px-x-1502040100_131") at test-bfs_get_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_abort(resp, req, body, call = error_call)
   9.       └─rlang::abort(...)
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 48 ]
  Error: Test failures
  Execution halted