Running 'testthat.R' [27s]
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; sf_use_s2() is TRUE
  [ FAIL 1 | WARN 0 | SKIP 96 | PASS 76 ]
  
  ══ 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:66:3): names.bcdc_promise returns the same as names on a data.frame ──
  Error: There was an issue sending this WFS request
  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  Request:
    URL: https://openmaps.gov.bc.ca/geo/pub/wfs
    POST fields:
      SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&outputFormat=application%2Fjson&typeNames=WHSE_IMAGERY_AND_BASE_MAPS.GSR_AIRPORTS_SVW&SRSNAME=EPSG%3A3005&count=6&sortBy=SEQUENCE_ID
    Content-Type: application/x-www-form-urlencoded
    Accept-Encoding: gzip, deflate
    Accept: application/json, text/xml, application/xml, */*
    User-Agent: https://github.com/bcgov/bcdata
  Response:
    status: HTTP/1.1 400
    date: Thu, 03 Mar 2022 11:56:18 GMT
    server: Apache
    x-frame-options: allow-from (null)
    content-type: application/xml
    access-control-allow-origin: (null)
    access-control-allow-credentials: true
    access-control-allow-methods: POST, GET, OPTIONS, HEAD
    access-control-allow-headers: X-Requested-With, Referer, Origin, Content-Type, SOAPAction, Authorization, Accept
    access-control-max-age: 1000
    connection: close
    transfer-encoding: chunked
  
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(names(query01), names(collect(query01))) at test-query-geodata-base-methods.R:66:2
   2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─dplyr::collect(query01)
   5. └─bcdata:::collect.bcdc_promise(query01)
   6.   └─bcdata:::catch_wfs_error(cc)
  
  [ FAIL 1 | WARN 0 | SKIP 96 | PASS 76 ]
  Error: Test failures
  Execution halted