Running ‘testthat.R’ [9s/17s]
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 171 ]
  
  ══ Skipped tests (17) ══════════════════════════════════════════════════════════
  • On CRAN (16): '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-occCitePrint.R:5: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'
  • internet connection established (1): 'test-occCitation.R:115:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-taxonRectification.R:8:3'): functions on which it depends function as necessary ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'taxize'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-taxonRectification.R:8:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Failure ('test-taxonRectification.R:43:3'): taxonRectification performs as expected ──
  testResult$`Best Match`[1] == "Buteo buteo harterti" is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-taxonRectification.R:44:3'): taxonRectification performs as expected ──
  testResult$`Searched Taxonomic Databases w/ Matches` == "National Center for Biotechnology Information" is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 3 | WARN 1 | SKIP 17 | PASS 171 ]
  Error: Test failures
  Execution halted