Running 'testthat.R' [28s]
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.2.1, PROJ 7.2.1; sf_use_s2() is TRUE
  [ FAIL 2 | WARN 0 | SKIP 96 | PASS 75 ]
  
  == 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)`: Timeout was reached: [openmaps.gov.bc.ca] Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
  Backtrace:
       x
    1. +-bcdc_query_geodata(point_record) %>% head() at 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_query_geodata(obj, crs)
    6.   \-bcdata:::bcdc_query_geodata.bcdc_record(obj, crs)
    7.     \-bcdata:::feature_helper(query_list$typeNames)
    8.       \-bcdata:::parse_raw_feature_tbl(query_list)
    9.         \-cli$post(body = query_list, encode = "form")
   10.           \-private$make_request(rr)
   11.             \-crul:::crul_fetch(opts)
   12.               \-curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  -- Error (test-query-geodata-base-methods.R:73:3): names.bcdc_promise returns the same as names on a data.frame when using select --
  Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to openmaps.gov.bc.ca:443 
  Backtrace:
       x
    1. +-bcdc_query_geodata(polygon_record) %>% head() %>% ... at test-query-geodata-base-methods.R:73:2
    2. +-dplyr::select(., 1:3)
    3. +-utils::head(.)
    4. +-bcdata::bcdc_query_geodata(polygon_record)
    5. \-bcdata:::bcdc_query_geodata.character(polygon_record)
    6.   +-bcdata::bcdc_query_geodata(obj, crs)
    7.   \-bcdata:::bcdc_query_geodata.bcdc_record(obj, crs)
    8.     \-bcdata:::feature_helper(query_list$typeNames)
    9.       \-bcdata:::parse_raw_feature_tbl(query_list)
   10.         \-cli$post(body = query_list, encode = "form")
   11.           \-private$make_request(rr)
   12.             \-crul:::crul_fetch(opts)
   13.               \-curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  [ FAIL 2 | WARN 0 | SKIP 96 | PASS 75 ]
  Error: Test failures
  Execution halted