Running 'testthat.R' [51s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(occCite)
  > 
  > test_check("occCite")
  	
   OccCite query occurred on: 20 June, 2024
  	
   User query type: User-supplied list of taxa.
  	
   Sources for taxonomic rectification: GBIF Backbone Taxonomy
   	
  	
   Taxonomic cleaning results: 	
  
           Input Name                Best Match Taxonomic Databases w/ Matches
  1 Protea cynaroides Protea cynaroides (L.) L.         GBIF Backbone Taxonomy
  	
   Sources for occurrence data: gbif, bien
   	
                      Species Occurrences Sources
  1 Protea cynaroides (L.) L.        2334      17
  	
   GBIF dataset DOIs: 	
  
                      Species GBIF Access Date           GBIF DOI
  1 Protea cynaroides (L.) L.       2022-03-02 10.15468/dl.ztbx8c
  	
   OccCite query occurred on: 20 June, 2024
  	
   User query type: User-supplied list of taxa.
  	
   Sources for taxonomic rectification: GBIF Backbone Taxonomy
   	
  	
   Taxonomic cleaning results: 	
  
           Input Name                Best Match Taxonomic Databases w/ Matches
  1 Protea cynaroides Protea cynaroides (L.) L.         GBIF Backbone Taxonomy
  	
   Sources for occurrence data: gbif
   	
                      Species Occurrences Sources
  1 Protea cynaroides (L.) L.        2189      13
  	
   GBIF dataset DOIs: 	
  
                      Species GBIF Access Date           GBIF DOI
  1 Protea cynaroides (L.) L.       2022-03-02 10.15468/dl.ztbx8c
  	
   OccCite query occurred on: 20 June, 2024
  	
   User query type: User-supplied list of taxa.
  	
   Sources for taxonomic rectification: GBIF Backbone Taxonomy
   	
  	
   Taxonomic cleaning results: 	
  
           Input Name                Best Match Taxonomic Databases w/ Matches
  1 Protea cynaroides Protea cynaroides (L.) L.         GBIF Backbone Taxonomy
  	
   Sources for occurrence data: bien
   	
                      Species Occurrences Sources
  1 Protea cynaroides (L.) L.         145       4
  [ FAIL 3 | WARN 1 | SKIP 17 | PASS 123 ]
  
  ══ Skipped tests (17) ══════════════════════════════════════════════════════════
  • On CRAN (15): 'test-GBIFLoginManager.R:6:3', 'test-GBIFLoginManager.R:19:3',
    'test-GBIFtableCleanup.R:6:3', 'test-gbifRetriever.R:6:3',
    'test-gbifRetriever.R:29:3', 'test-getBIENpoints.R:6:3',
    'test-getBIENpoints.R:28:3', 'test-getGBIFpoints.R:6:3',
    'test-getGBIFpoints.R:24:3', 'test-occCitation.R:26:3',
    'test-prevGBIFdownload.R:6:3', 'test-prevGBIFdownload.R:34:3',
    'test-tabGBIF.R:9:3', 'test-tabGBIF.R:24:3', 'test-tabGBIF.R:48:3'
  • empty test (1): 'test-occCitePrint.R:4:1'
  • internet connection established (1): 'test-occCitation.R:115:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-studyTaxonList.R:17:3'): studyTaxonList works with a phylogeny ──
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [resolver.globalnames.org]: SSL/TLS connection timeout
  Backtrace:
       ▆
    1. ├─testthat::skip_if(httr::http_error("https://resolver.globalnames.org/data_sources.json")) at test-studyTaxonList.R:17:3
    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)
   11. └─curl:::raise_libcurl_error(...)
  ── Error ('test-studyTaxonList.R:52:3'): studyTaxonList works with a vector of species ──
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [resolver.globalnames.org]: SSL/TLS connection timeout
  Backtrace:
       ▆
    1. ├─testthat::skip_if(httr::http_error("https://resolver.globalnames.org/data_sources.json")) at test-studyTaxonList.R:52:3
    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)
   11. └─curl:::raise_libcurl_error(...)
  ── Error ('test-taxonRectification.R:31:3'): taxonRectification performs as expected ──
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [resolver.globalnames.org]: SSL/TLS connection timeout
  Backtrace:
       ▆
    1. ├─testthat::skip_if(httr::http_error("https://resolver.globalnames.org/data_sources.json")) at test-taxonRectification.R:31:3
    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)
   11. └─curl:::raise_libcurl_error(...)
  
  [ FAIL 3 | WARN 1 | SKIP 17 | PASS 123 ]
  Error: Test failures
  Execution halted