Running 'testthat.R' [64s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(valet)
  > 
  > test_check("valet")
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 1 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_details.R:2:3'): get_details returns full series ───────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.bankofcanada.ca
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-get_details.R:2:2
   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.   └─httr::GET(url, user_agent("https://github.com/runkelcorey/valet"))
   6.     └─httr:::request_perform(req, hu$handle$handle)
   7.       ├─httr:::request_fetch(req$output, req$url, handle)
   8.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   9.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-get_group.R:2:3'): get_group returns full dataset ──────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.bankofcanada.ca
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-get_group.R:2:2
    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.     └─httr::GET(url, user_agent("https://github.com/runkelcorey/valet"))
    8.       └─httr:::request_perform(req, hu$handle$handle)
    9.         ├─httr:::request_fetch(req$output, req$url, handle)
   10.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.           └─curl::curl_fetch_memory(url, handle = handle)
  ── 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: 0x0000000000000150>), 
      "rb")`: Could not resolve host: www.bankofcanada.ca
  Backtrace:
      ▆
   1. ├─testthat::expect_s3_class(get_list("series"), class = "tbl") at test-get_list.R:2:2
   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: 0x000000000000015d>), 
      "rb")`: Could not resolve host: www.bankofcanada.ca
  Backtrace:
      ▆
   1. ├─testthat::expect_named(...) at test-get_list.R:7:2
   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 in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.bankofcanada.ca
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(nrow(get_series("SWP-R1N1983Q2")), 78) at test-get_series.R:2:2
    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.     └─httr::GET(url, user_agent("https://github.com/runkelcorey/valet"))
    8.       └─httr:::request_perform(req, hu$handle$handle)
    9.         ├─httr:::request_fetch(req$output, req$url, handle)
   10.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-get_series.R:6:3'): get_series includes date variable ──────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.bankofcanada.ca
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-get_series.R:6:2
    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.     └─httr::GET(url, user_agent("https://github.com/runkelcorey/valet"))
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-valet.R:2:3'): valet returns 200 status code for available datasets ──
  Error in `open.connection(structure(6L, class = c("curl", "connection"), conn_id = <pointer: 0x0000000000000167>), 
      "rb")`: Timeout was reached: [www.bankofcanada.ca] Resolving timed out after 10015 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-valet.R:2:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─valet::valet(sample(get_list("series")$name, 1))
    5. │ ├─httr::modify_url(...)
    6. │ │ └─httr:::compact(...)
    7. │ │   └─base::vapply(x, is_empty, logical(1))
    8. │ └─base::paste0(...)
    9. ├─base::sample(get_list("series")$name, 1)
   10. ├─valet::get_list("series")
   11. │ └─readr::read_csv(url, skip = 4, col_types = cols())
   12. │   └─vroom::vroom(...)
   13. │     └─vroom:::vroom_(...)
   14. ├─base (local) `<fn>`(`<curl>`, "rb")
   15. └─base::open.connection(`<curl>`, "rb")
  ── Error ('test-valet.R:6:11'): valet returns valet ────────────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.bankofcanada.ca
  Backtrace:
      ▆
   1. ├─testthat::expect_s3_class(...) at test-valet.R:6:10
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─valet::valet("BAPF_TRANSACTION_DATA", group = T)
   5.   └─httr::GET(url, user_agent("https://github.com/runkelcorey/valet"))
   6.     └─httr:::request_perform(req, hu$handle$handle)
   7.       ├─httr:::request_fetch(req$output, req$url, handle)
   8.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   9.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-valet.R:10:3'): valet returns a nice message when group is unavailable ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www.bankofcanada.ca] Resolving timed out after 10008 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_error(get_group("BAPF"), regexp = "^Valet request failed") at test-valet.R:10:2
    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. └─valet::get_group("BAPF")
    8.   └─valet::valet(name = name, T, ...)
    9.     └─httr::GET(url, user_agent("https://github.com/runkelcorey/valet"))
   10.       └─httr:::request_perform(req, hu$handle$handle)
   11.         ├─httr:::request_fetch(req$output, req$url, handle)
   12.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13.           └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted