Running ‘testthat.R’ [19s/440s]
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
   ==>----------------------------    7% |  ETA:  1m
   ===>---------------------------   10% |  ETA:  1m
   ====>--------------------------   13% |  ETA:  1m
   =====>-------------------------   16% |  ETA:  1m
   ======>------------------------   20% |  ETA:  1m
   =======>-----------------------   23% |  ETA:  1m
   ========>----------------------   28% |  ETA:  1m
   ==========>--------------------   32% |  ETA:  1m
   ===========>-------------------   36% |  ETA:  1m
   ============>------------------   39% |  ETA: 50s
   =============>-----------------   42% |  ETA: 47s
   ==============>----------------   47% |  ETA: 42s
   ===============>---------------   51% |  ETA: 39s
   ================>--------------   54% |  ETA: 37s
   ==================>------------   59% |  ETA: 33s
   ===================>-----------   63% |  ETA: 29s
   ====================>----------   66% |  ETA: 26s
   =====================>---------   71% |  ETA: 23s
   =======================>-------   76% |  ETA: 19s
   ========================>------   80% |  ETA: 16s
   =========================>-----   84% |  ETA: 12s
   ===========================>---   88% |  ETA:  9s
   ============================>--   92% |  ETA:  6s
   =============================>-   96% |  ETA:  3s
   ==============================>   98% |  ETA:  1s
  Saving _problems/test-bfs_get_data_comments-9.R
  > Waiting 15s for retry backoff
  Saving _problems/test-bfs_get_data_comments-24.R
  > Waiting 15s for retry backoff
  > Waiting 15s for retry backoff
  [ FAIL 2 | WARN 0 | SKIP 9 | PASS 51 ]
  
  ══ 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)
  ── Error ('test-bfs_get_data_comments.R:16:3'): bfs_get_data_comments() query argument ──
  <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:16: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 2 | WARN 0 | SKIP 9 | PASS 51 ]
  Error:
  ! Test failures.
  Execution halted