Running ‘testthat.R’ [10s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(occCite)
  > 
  > test_check("occCite")
  	
   OccCite query occurred on: 2022-08-01
  	
   User query type: User-supplied list of taxa.
  	
   Sources for taxonomic rectification: GBIF Backbone Taxonomy
   	
  	
   Taxonomic cleaning results: 	
  
           Input Name                        Best Match
  1 Protea cynaroides Protea cynaroides (L.) L. L. (L.)
    Taxonomic Databases w/ Matches
  1         GBIF Backbone Taxonomy
  	
   Sources for occurrence data: gbif, bien
   	
                              Species Occurrences Sources
  1 Protea cynaroides (L.) L. L. (L.)        2334      17
  	
   GBIF dataset DOIs: 	
  
                              Species GBIF Access Date           GBIF DOI
  1 Protea cynaroides (L.) L. L. (L.)       2022-03-02 10.15468/dl.ztbx8c
  	
   OccCite query occurred on: 2022-08-01
  	
   User query type: User-supplied list of taxa.
  	
   Sources for taxonomic rectification: GBIF Backbone Taxonomy
   	
  	
   Taxonomic cleaning results: 	
  
           Input Name                        Best Match
  1 Protea cynaroides Protea cynaroides (L.) L. L. (L.)
    Taxonomic Databases w/ Matches
  1         GBIF Backbone Taxonomy
  	
   Sources for occurrence data: gbif
   	
                              Species Occurrences Sources
  1 Protea cynaroides (L.) L. L. (L.)        2189      13
  	
   GBIF dataset DOIs: 	
  
                              Species GBIF Access Date           GBIF DOI
  1 Protea cynaroides (L.) L. L. (L.)       2022-03-02 10.15468/dl.ztbx8c
  	
   OccCite query occurred on: 2022-08-01
  	
   User query type: User-supplied list of taxa.
  	
   Sources for taxonomic rectification: GBIF Backbone Taxonomy
   	
  	
   Taxonomic cleaning results: 	
  
           Input Name                        Best Match
  1 Protea cynaroides Protea cynaroides (L.) L. L. (L.)
    Taxonomic Databases w/ Matches
  1         GBIF Backbone Taxonomy
  	
   Sources for occurrence data: bien
   	
                              Species Occurrences Sources
  1 Protea cynaroides (L.) L. L. (L.)         145       4
  [ FAIL 4 | WARN 4 | SKIP 17 | PASS 125 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (16)
  • internet connection established (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-studyTaxonList.R:17'): studyTaxonList works with a phylogeny ───
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Failed to connect to resolver.globalnames.org port 443 after 143 ms: Couldn't connect to server
  Backtrace:
       ▆
    1. ├─testthat::skip_if(httr::http_error("https://resolver.globalnames.org/data_sources.json")) at test-studyTaxonList.R:17:2
    2. │ └─base::isTRUE(condition)
    3. ├─httr::http_error("https://resolver.globalnames.org/data_sources.json")
    4. └─httr:::http_error.character("https://resolver.globalnames.org/data_sources.json")
    5.   ├─httr::http_error(HEAD(x, ...))
    6.   └─httr::HEAD(x, ...)
    7.     └─httr:::request_perform(req, hu$handle$handle)
    8.       ├─httr:::request_fetch(req$output, req$url, handle)
    9.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-studyTaxonList.R:52'): studyTaxonList works with a vector of species ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Failed to connect to resolver.globalnames.org port 443 after 144 ms: Couldn't connect to server
  Backtrace:
       ▆
    1. ├─testthat::skip_if(httr::http_error("https://resolver.globalnames.org/data_sources.json")) at test-studyTaxonList.R:52:2
    2. │ └─base::isTRUE(condition)
    3. ├─httr::http_error("https://resolver.globalnames.org/data_sources.json")
    4. └─httr:::http_error.character("https://resolver.globalnames.org/data_sources.json")
    5.   ├─httr::http_error(HEAD(x, ...))
    6.   └─httr::HEAD(x, ...)
    7.     └─httr:::request_perform(req, hu$handle$handle)
    8.       ├─httr:::request_fetch(req$output, req$url, handle)
    9.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-taxonRectification.R:7'): functions on which it depends function as necessary ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Failed to connect to resolver.globalnames.org port 443 after 130 ms: Couldn't connect to server
  Backtrace:
       ▆
    1. ├─testthat::skip_if(httr::http_error("https://resolver.globalnames.org/data_sources.json")) at test-taxonRectification.R:7:2
    2. │ └─base::isTRUE(condition)
    3. ├─httr::http_error("https://resolver.globalnames.org/data_sources.json")
    4. └─httr:::http_error.character("https://resolver.globalnames.org/data_sources.json")
    5.   ├─httr::http_error(HEAD(x, ...))
    6.   └─httr::HEAD(x, ...)
    7.     └─httr:::request_perform(req, hu$handle$handle)
    8.       ├─httr:::request_fetch(req$output, req$url, handle)
    9.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test-taxonRectification.R:30'): taxonRectification performs as expected ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Failed to connect to resolver.globalnames.org port 443 after 129 ms: Couldn't connect to server
  Backtrace:
       ▆
    1. ├─testthat::skip_if(httr::http_error("https://resolver.globalnames.org/data_sources.json")) at test-taxonRectification.R:30:2
    2. │ └─base::isTRUE(condition)
    3. ├─httr::http_error("https://resolver.globalnames.org/data_sources.json")
    4. └─httr:::http_error.character("https://resolver.globalnames.org/data_sources.json")
    5.   ├─httr::http_error(HEAD(x, ...))
    6.   └─httr::HEAD(x, ...)
    7.     └─httr:::request_perform(req, hu$handle$handle)
    8.       ├─httr:::request_fetch(req$output, req$url, handle)
    9.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.         └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 4 | WARN 4 | SKIP 17 | PASS 125 ]
  Error: Test failures
  Execution halted