Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # Copyright 2019 Province of British Columbia
  > #
  > # Licensed under the Apache License, Version 2.0 (the "License");
  > # you may not use this file except in compliance with the License.
  > # You may obtain a copy of the License at
  > #
  > # http://www.apache.org/licenses/LICENSE-2.0
  > #
  > # Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
  > # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  > # See the License for the specific language governing permissions and limitations under the License.
  > 
  > if (require("testthat", quietly = TRUE)) {
  +   library(bcdata)
  +   library(sf)
  +   test_check("bcdata")
  + }
  
  Attaching package: 'bcdata'
  
  The following object is masked from 'package:stats':
  
      filter
  
  Linking to GEOS 3.9.1, GDAL 3.3.2, PROJ 7.2.1
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • BEYOND currently not supported (1)
  • On CRAN (94)
  • RELATE not supported. https://github.com/bcgov/bcdata/pull/154 (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-query-geodata-base-methods.R:63:3): names.bcdc_promise returns the same as names on a data.frame ──
  Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: Send failure: Connection was reset
  Backtrace:
      █
   1. ├─bcdc_query_geodata(point_record) %>% head() test-query-geodata-base-methods.R:63:2
   2. ├─utils::head(.)
   3. ├─bcdata::bcdc_query_geodata(point_record)
   4. └─bcdata:::bcdc_query_geodata.character(point_record)
   5.   └─bcdata::bcdc_get_record(record)
   6.     └─cli$get(query = list(id = id))
   7.       └─private$make_request(rr)
   8.         └─crul:::crul_fetch(opts)
   9.           └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  [ FAIL 1 | WARN 0 | SKIP 96 | PASS 76 ]
  Error: Test failures
  Execution halted