Running 'spelling.R' [0s]
  Running 'testthat.R' [47s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(taylor)
  > 
  > test_check("taylor")
  Saving _problems/test-api-access-165.R
  [ FAIL 1 | WARN 0 | SKIP 23 | PASS 136 ]
  
  ══ Skipped tests (23) ══════════════════════════════════════════════════════════
  • Can't find envvar TAYLOR_KEY (3): 'test-api-access.R:2:3',
    'test-api-access.R:84:3', 'test-sitrep.R:2:3'
  • On CRAN (20): 'test-data-checks.R:1:1', 'test-data-checks.R:25:1',
    'test-data-checks.R:34:1', 'test-data-checks.R:73:1',
    'test-data-checks.R:90:1', 'test-data-checks.R:107:1',
    'test-data-checks.R:125:1', 'test-data-checks.R:144:1',
    'test-ggplot2-color-scales.R:3:1', 'test-ggplot2-color-scales.R:75:1',
    'test-ggplot2-color-scales.R:146:1', 'test-ggplot2-color-scales.R:484:1',
    'test-ggplot2-color-scales.R:1559:1', 'test-ggplot2-color-scales.R:1630:1',
    'test-ggplot2-color-scales.R:1701:1', 'test-ggplot2-color-scales.R:1821:1',
    'test-misc.R:1:1', 'test-palette.R:1:1', 'test-palette.R:132:1',
    'test-taylor-album-palettes.R:39:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-api-access.R:165:3'): reccobeats api ───────────────────────────
  <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition>
  Error in `httr2::req_perform(httr2::req_retry(httr2::req_url_query(httr2::req_url_path_append(httr2::request("https://api.reccobeats.com/v1"), "/audio-features"), ids = track_id), max_tries = 10))`: HTTP 502 Bad Gateway.
  Backtrace:
       ▆
    1. └─taylor::get_reccobeats_audio_features("7Mts0OfPorF4iwOomvfqn1") at test-api-access.R:165:3
    2.   ├─httr2::resp_body_json(...)
    3.   │ └─httr2:::check_response(resp)
    4.   │   └─httr2:::is_response(resp)
    5.   └─httr2::req_perform(...)
    6.     └─httr2:::handle_resp(req, resp, error_call = error_call)
    7.       └─httr2:::resp_failure_cnd(req, resp, error_call = error_call)
    8.         ├─rlang::catch_cnd(...)
    9.         │ ├─rlang::eval_bare(...)
   10.         │ ├─base::tryCatch(...)
   11.         │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12.         │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13.         │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   14.         │ └─base::force(expr)
   15.         └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 23 | PASS 136 ]
  Error:
  ! Test failures.
  Execution halted