Running 'testthat.R' [24m]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(valet)
  > 
  > test_check("valet")
  No encoding supplied: defaulting to UTF-8.
  No encoding supplied: defaulting to UTF-8.
  No encoding supplied: defaulting to UTF-8.
  No encoding supplied: defaulting to UTF-8.
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 4 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_details.R:2:3'): get_details returns full series ───────────
  Error: lexical error: invalid char in json text.
                                         <HTML><HEAD> <TITLE>Access Deni
                       (right here) ------^
  
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-get_details.R:2:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─valet::get_details("LEGACY_NOON_RATES", group = T)
   5.   └─jsonlite::fromJSON(content(resp, "text"))
   6.     └─jsonlite:::parse_and_simplify(...)
   7.       └─jsonlite:::parseJSON(txt, bigint_as_char)
   8.         └─jsonlite:::parse_string(txt, bigint_as_char)
  ── Error ('test-get_group.R:2:3'): get_group returns full dataset ──────────────
  Error: lexical error: invalid char in json text.
                                         <HTML><HEAD> <TITLE>Access Deni
                       (right here) ------^
  
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-get_group.R:2:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::nrow(get_group("LEGACY_NOON_RATES"))
    5. └─valet::get_group("LEGACY_NOON_RATES")
    6.   └─valet::valet(name = name, T, ...)
    7.     └─jsonlite::fromJSON(content(resp, "text"))
    8.       └─jsonlite:::parse_and_simplify(...)
    9.         └─jsonlite:::parseJSON(txt, bigint_as_char)
   10.           └─jsonlite:::parse_string(txt, bigint_as_char)
  ── Error ('test-get_list.R:2:3'): get_list returns a tibble ────────────────────
  Error in `open.connection(structure(4L, class = c("curl", "connection"), conn_id = <pointer: 0x0000000000000143>), 
      "rb")`: HTTP error 403.
  Backtrace:
      ▆
   1. ├─testthat::expect_s3_class(get_list("series"), class = "tbl") at test-get_list.R:2:3
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─valet::get_list("series")
   5. │ └─readr::read_csv(url, skip = 4, col_types = cols())
   6. │   └─vroom::vroom(...)
   7. │     └─vroom:::vroom_(...)
   8. ├─base (local) `<fn>`(`<curl>`, "rb")
   9. └─base::open.connection(`<curl>`, "rb")
  ── Error ('test-get_list.R:7:3'): get_list returns correct categories ──────────
  Error in `open.connection(structure(5L, class = c("curl", "connection"), conn_id = <pointer: 0x0000000000000150>), 
      "rb")`: HTTP error 403.
  Backtrace:
      ▆
   1. ├─testthat::expect_named(...) at test-get_list.R:7:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─valet::get_list("groups")
   5. │ └─readr::read_csv(url, skip = 4, col_types = cols())
   6. │   └─vroom::vroom(...)
   7. │     └─vroom:::vroom_(...)
   8. ├─base (local) `<fn>`(`<curl>`, "rb")
   9. └─base::open.connection(`<curl>`, "rb")
  ── Error ('test-get_series.R:2:3'): get_series returns full dataset ────────────
  Error: lexical error: invalid char in json text.
                                         <!DOCTYPE html PUBLIC "-//W3C//
                       (right here) ------^
  
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(nrow(get_series("SWP-R1N1983Q2")), 78) at test-get_series.R:2:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::nrow(get_series("SWP-R1N1983Q2"))
    5. └─valet::get_series("SWP-R1N1983Q2")
    6.   └─valet::valet(...)
    7.     └─jsonlite::fromJSON(content(resp, "text"))
    8.       └─jsonlite:::parse_and_simplify(...)
    9.         └─jsonlite:::parseJSON(txt, bigint_as_char)
   10.           └─jsonlite:::parse_string(txt, bigint_as_char)
  ── Error ('test-get_series.R:6:3'): get_series includes date variable ──────────
  Error: lexical error: invalid char in json text.
                                         <HTML><HEAD> <TITLE>Access Deni
                       (right here) ------^
  
  Backtrace:
      ▆
   1. ├─testthat::expect_s3_class(...) at test-get_series.R:6:3
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─valet::get_series("CES_C4E_LOSE_JOB_SK")
   5.   └─valet::valet(...)
   6.     └─jsonlite::fromJSON(content(resp, "text"))
   7.       └─jsonlite:::parse_and_simplify(...)
   8.         └─jsonlite:::parseJSON(txt, bigint_as_char)
   9.           └─jsonlite:::parse_string(txt, bigint_as_char)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 4 ]
  Error: Test failures
  Execution halted