Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [13s/299s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(uklr)
  > 
  > test_check("uklr")
  ── FAILURE (test-build-sparql.R:32:3): ons ─────────────────────────────────────
  `ons_lookup()` threw an error.
  Message: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(ons_lookup(), NA) test-build-sparql.R:32:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─uklr::ons_lookup()
    7.   └─httr::GET("http://geoportal1-ons.opendata.arcgis.com/datasets/9b4c94e915c844adb11e15a4b1e1294d_0.geojson")
    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)
  
  ── FAILURE (test-build-sparql.R:33:3): ons ─────────────────────────────────────
  `ons_countries()` threw an error.
  Message: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(ons_countries(), NA) test-build-sparql.R:33:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─uklr::ons_countries()
    7.   └─httr::GET("https://opendata.arcgis.com/datasets/7579a399b413418db5a3bdd1c824bffb_0.geojson")
    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)
  
  ── FAILURE (test-build-sparql.R:34:3): ons ─────────────────────────────────────
  `ons_regions()` threw an error.
  Message: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(ons_regions(), NA) test-build-sparql.R:34:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─uklr::ons_regions()
    7.   └─uklr::ons_countries(modify)
    8.     └─httr::GET("https://opendata.arcgis.com/datasets/7579a399b413418db5a3bdd1c824bffb_0.geojson")
    9.       └─httr:::request_perform(req, hu$handle$handle)
   10.         ├─httr:::request_fetch(req$output, req$url, handle)
   11.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.           └─curl::curl_fetch_memory(url, handle = handle)
  
  ── FAILURE (test-build-sparql.R:35:3): ons ─────────────────────────────────────
  `ons_eng_counties()` threw an error.
  Message: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(ons_eng_counties(), NA) test-build-sparql.R:35:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─uklr::ons_eng_counties()
    7.   └─httr::GET("https://opendata.arcgis.com/datasets/1e96fd2cc44e4dbc8c6f96f7340562fe_0.geojson")
    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)
  
  ── FAILURE (test-build-sparql.R:36:3): ons ─────────────────────────────────────
  `ons_la()` threw an error.
  Message: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(ons_la(), NA) test-build-sparql.R:36:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─uklr::ons_la()
    7.   └─httr::GET("https://opendata.arcgis.com/datasets/17eb563791b648f9a7025ca408bb09c6_0.geojson")
    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)
  
  ── FAILURE (test-build-sparql.R:38:3): ons ─────────────────────────────────────
  `ons_nuts1()` threw an error.
  Message: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(ons_nuts1(), NA) test-build-sparql.R:38:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─uklr::ons_nuts1()
    7.   ├─base::unique(ons_lookup()$NUTS118NM)
    8.   └─uklr::ons_lookup()
    9.     └─httr::GET("http://geoportal1-ons.opendata.arcgis.com/datasets/9b4c94e915c844adb11e15a4b1e1294d_0.geojson")
   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)
  
  ── FAILURE (test-build-sparql.R:39:3): ons ─────────────────────────────────────
  `ons_nuts2()` threw an error.
  Message: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(ons_nuts2(), NA) test-build-sparql.R:39:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─uklr::ons_nuts2()
    7.   ├─base::unique(ons_lookup()$NUTS218NM)
    8.   └─uklr::ons_lookup()
    9.     └─httr::GET("http://geoportal1-ons.opendata.arcgis.com/datasets/9b4c94e915c844adb11e15a4b1e1294d_0.geojson")
   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)
  
  ── FAILURE (test-build-sparql.R:40:3): ons ─────────────────────────────────────
  `ons_nuts3()` threw an error.
  Message: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(ons_nuts3(), NA) test-build-sparql.R:40:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─uklr::ons_nuts3()
    7.   ├─base::unique(ons_lookup()$NUTS318NM)
    8.   └─uklr::ons_lookup()
    9.     └─httr::GET("http://geoportal1-ons.opendata.arcgis.com/datasets/9b4c94e915c844adb11e15a4b1e1294d_0.geojson")
   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)
  
  ── FAILURE (test-build-sparql.R:41:3): ons ─────────────────────────────────────
  `ons_lad()` threw an error.
  Message: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(ons_lad(), NA) test-build-sparql.R:41:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─uklr::ons_lad()
    7.   ├─base::unique(ons_lookup()$LAU118NM)
    8.   └─uklr::ons_lookup()
    9.     └─httr::GET("http://geoportal1-ons.opendata.arcgis.com/datasets/9b4c94e915c844adb11e15a4b1e1294d_0.geojson")
   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)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test-build-sparql.R:32:3): ons
  FAILURE (test-build-sparql.R:33:3): ons
  FAILURE (test-build-sparql.R:34:3): ons
  FAILURE (test-build-sparql.R:35:3): ons
  FAILURE (test-build-sparql.R:36:3): ons
  FAILURE (test-build-sparql.R:38:3): ons
  FAILURE (test-build-sparql.R:39:3): ons
  FAILURE (test-build-sparql.R:40:3): ons
  FAILURE (test-build-sparql.R:41:3): ons
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 23 ]
  Error: Test failures
  Execution halted