Running ‘testthat.R’ [9s/222s]
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.
  > 
  > library(testthat)
  > library(bcdata)
  
  Attaching package: 'bcdata'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > library(sf)
  Linking to GEOS 3.6.4, GDAL 2.2.4, PROJ 5.2.0
  > 
  > test_check("bcdata")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● BEYOND currently not supported (1)
  ● On CRAN (85)
  ● RELATE not supported. https://github.com/bcgov/bcdata/pull/154 (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-options.R:28:3): bcdata.single_download_limit ───────────────────
  Error: Timeout was reached: [openmaps.gov.bc.ca] Resolving timed out after 10000 milliseconds
  Backtrace:
       █
    1. ├─testthat::expect_message(...) test-options.R:28:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─bcdata::bcdc_get_data(...)
    7. └─bcdata:::bcdc_get_data.character(...)
    8.   ├─bcdata::bcdc_get_data(x, resource, verbose = verbose, ...)
    9.   └─bcdata:::bcdc_get_data.bcdc_record(...)
   10.     ├─bcdata::bcdc_query_geodata(record = record_id, ...)
   11.     └─bcdata:::bcdc_query_geodata.character(record = record_id, ...)
   12.       ├─bcdata::bcdc_query_geodata(obj, crs)
   13.       └─bcdata:::bcdc_query_geodata.bcdc_record(obj, crs)
   14.         └─bcdata:::feature_helper(query_list$typeNames)
   15.           └─bcdata:::parse_raw_feature_tbl(query_list)
   16.             └─cli$post(body = query_list, encode = "form")
   17.               └─private$make_request(rr)
   18.                 └─crul:::crul_fetch(opts)
   19.                   └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  [ FAIL 1 | WARN 0 | SKIP 87 | PASS 75 ]
  Error: Test failures
  Execution halted