Running 'testthat.R' [53s]
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(nycOpenData)
  > 
  > test_check("nycOpenData")
  crul not installed, skipping enable
  HttrAdapter enabled!
  httr2 not installed, skipping enable
  Saving _problems/test-nyc_catalog_and_pull_dataset-140.R
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 47 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • Cassette not recorded yet for 'nyc_list_datasets_catalog'. Run with
    VCR_RECORD=once to create it. (1): 'test-nyc_catalog_and_pull_dataset.R:4:3'
  • Cassette not recorded yet for 'nyc_pull_dataset_key_lookup'. Run with
    VCR_RECORD=once to create it. (1):
    'test-nyc_catalog_and_pull_dataset.R:104:3'
  • Cassette not recorded yet for 'nyc_pull_dataset_robust'. Run with
    VCR_RECORD=once to create it. (1): 'test-nyc_catalog_and_pull_dataset.R:18:3'
  • Cassette not recorded yet for 'nyc_pull_dataset_toggles'. Run with
    VCR_RECORD=once to create it. (1):
    'test-nyc_catalog_and_pull_dataset.R:219:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-nyc_catalog_and_pull_dataset.R:137:3'): nyc_pull_dataset input validation errors ──
  Error: NYC Open Data request failed with HTTP status 500.
  Try again later, or verify your filters.
  
  Response: {"message":"Internal error: please include code 967ff003-42c1-4cba-b594-45a1c3f719ea if you report the error","errorCode":"internal-error","data":{"tag":"967ff003-42c1-4cba-b594-45a1c3f719ea"}}
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-nyc_catalog_and_pull_dataset.R:137:3
    2. │ └─testthat:::expect_condition_matching_(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. └─nycOpenData::nyc_pull_dataset(...)
    8.   └─nycOpenData:::.nyc_catalog_tbl()
    9.     └─nycOpenData:::.nyc_dataset_request(...)
   10.       └─nycOpenData:::.nyc_get_json(endpoint, query_list, timeout_sec = timeout_sec)
  
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 47 ]
  Error:
  ! Test failures.
  Execution halted