Running ‘testthat.R’ [0m/22m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(VicmapR)
  
  Attaching package: 'VicmapR'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("VicmapR")
  Reading layer `melbourne' from data source 
    `/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/VicmapR/shapes/melbourne.geojson' 
    using driver `GeoJSON'
  Simple feature collection with 1 feature and 8 fields
  Geometry type: MULTIPOLYGON
  Dimension:     XY
  Bounding box:  xmin: 144.897 ymin: -37.85066 xmax: 144.9913 ymax: -37.77545
  Geodetic CRS:  WGS 84
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-build-query.R:28:3): print.vicmap_promise works ─────────────────
  Error: Recv failure: Connection reset by peer
  Backtrace:
       █
    1. ├─testthat::expect_output(...) test-build-query.R:28:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(temp, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─base::print(...)
   11. └─VicmapR:::print.vicmap_promise(...)
   12.   └─VicmapR::feature_hits(x)
   13.     └─httr::GET(request)
   14.       └─httr:::request_perform(req, hu$handle$handle)
   15.         ├─httr:::request_fetch(req$output, req$url, handle)
   16.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   17.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-build-query.R:33:3): head.vicmap_promise works ──────────────────
  Error: Recv failure: Connection reset by peer
  Backtrace:
       █
    1. ├─`%>%`(...) test-build-query.R:33:2
    2. ├─base::nrow(.)
    3. ├─dplyr::collect(.)
    4. └─VicmapR:::collect.vicmap_promise(.)
    5.   └─VicmapR::feature_hits(x)
    6.     └─httr::GET(request)
    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-build-query.R:46:3): collect.vicmap_promise works ───────────────
  Error: Recv failure: Connection reset by peer
  Backtrace:
      █
   1. ├─`%>%`(...) test-build-query.R:46:2
   2. ├─dplyr::collect(.)
   3. └─VicmapR:::collect.vicmap_promise(.)
   4.   └─VicmapR::feature_hits(x)
   5.     └─httr::GET(request)
   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-filter.R:3:3): filter works ─────────────────────────────────────
  Error: Recv failure: Connection reset by peer
  Backtrace:
       █
    1. ├─testthat::expect_warning(...) test-filter.R:3:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─`%>%`(...) test-filter.R:3:18
    7. ├─dplyr::filter(., HIERARCHY == "L", PFI == 8553127)
    8. ├─VicmapR:::filter.vicmap_promise(., HIERARCHY == "L", PFI == 8553127)
    9. │ └─VicmapR:::specify_geom_name(.data, current_cql)
   10. │   └─VicmapR::geom_col_name(x)
   11. │     ├─`%>%`(...)
   12. │     └─VicmapR::get_col_df(x)
   13. │       └─httr::GET(...)
   14. │         └─httr:::request_perform(req, hu$handle$handle)
   15. │           ├─httr:::request_fetch(req$output, req$url, handle)
   16. │           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   17. │             └─curl::curl_fetch_memory(url, handle = handle)
   18. ├─dplyr::pull(., name)
   19. └─dplyr::filter(., grepl(x = type, pattern = "gml:"))
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 48 ]
  Error: Test failures
  Execution halted