Running ‘testthat.R’ [18s/71s]
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")
  
    |                                                        
    |                                                  |   0%
    |                                                        
    |=========================                         |  50%
    |                                                        
    |==================================================| 100%Reading layer `melbourne' from data source 
    `/data/gannet/ripley/R/packages/tests-devel/VicmapR.Rcheck/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: Cannot open "http://services.land.vic.gov.au/catalogue/publicproxy/guest/dv_geoserver/wfs?service=wfs&version=2.0.0&request=GetFeature&typeNames=datavic%3AVMHYDRO_WATERCOURSE_DRAIN&outputFormat=application%2Fjson&count=6&srsName=EPSG%3A4283"; The file doesn't seem to exist.
  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.   └─sf::read_sf(request)
   13.     ├─sf::st_read(...)
   14.     └─sf:::st_read.character(...)
   15.       └─sf:::CPL_read_ogr(...)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 51 ]
  Error: Test failures
  Execution halted