Running 'testthat.R' [19s]
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 
    `D:\RCompile\CRANpkg\lib\4.4\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
  [ FAIL 2 | WARN 1 | SKIP 15 | PASS 37 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (15)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-convert-layer-names.R:37:3'): convert layer filter works ───────
  <http_400/http_error/error/condition>
  Error in `feature_hits(x)`: Bad Request (HTTP 400).
  Backtrace:
      ▆
   1. ├─... %>% collect() at test-convert-layer-names.R:37:2
   2. ├─dplyr::collect(.)
   3. └─VicmapR:::collect.vicmap_promise(.)
   4.   └─VicmapR::feature_hits(x)
   5.     └─httr::stop_for_status(response)
  ── Error ('test-convert-layer-names.R:51:3'): convert layer select works ───────
  <Rcpp::exception/C++Error/error/condition>
  Error: Cannot open "https://opendata.maps.vic.gov.au/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&typeNames=hy_watercourse&outputFormat=application%2Fjson&count=5&srsName=EPSG%3A4283&CQL_FILTER=feature_type_code%3D%27watercourse_channel_drain%27&propertyName=geom%2Chierarchy%2Cpfi"; The file doesn't seem to exist.
  Backtrace:
      ▆
   1. ├─... %>% collect() at test-convert-layer-names.R:51:2
   2. ├─dplyr::collect(.)
   3. └─VicmapR:::collect.vicmap_promise(.)
   4.   └─sf::read_sf(request, ...)
   5.     ├─sf::st_read(...)
   6.     └─sf:::st_read.character(...)
   7.       └─sf:::CPL_read_ogr(...)
  
  [ FAIL 2 | WARN 1 | SKIP 15 | PASS 37 ]
  Error: Test failures
  Execution halted