Running ‘testthat.R’ [9s/26s]
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 2 | WARN 4 | SKIP 17 | PASS 179 ]
  
  ══ 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:25:3',
    'test-occCitePrint.R:5:3', 'test-prevGBIFdownload.R:6:3',
    'test-prevGBIFdownload.R:34:3', 'test-tabGBIF.R:6:3', 'test-tabGBIF.R:24:3',
    'test-tabGBIF.R:51:3'
  • internet connection established (1): 'test-occCitation.R:114:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-taxonRectification.R:24:3'): functions on which it depends function as necessary ──
  temp$user_supplied_name == temp$matched_name is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-taxonRectification.R:44:3'): taxonRectification performs as expected ──
  testResult$`Best Match`[1] == "Buteo buteo harterti" is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 2 | WARN 4 | SKIP 17 | PASS 179 ]
  Error: Test failures
  Execution halted