Running ‘testthat.R’ [7s/23s]
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
  [1] "Checking ggplot version...4.0.2"
  Failed with error:  'there is no package called 'waffle''
  Failed with error:  'there is no package called 'waffle''
  Failed with error:  'there is no package called 'waffle''
  Failed with error:  'there is no package called 'waffle''
  Failed with error:  'there is no package called 'waffle''
  Failed with error:  'there is no package called 'waffle''
  Failed with error:  'there is no package called 'waffle''
  Saving _problems/test-taxonRectification-49.R
  Saving _problems/test-taxonRectification-50.R
  [ FAIL 2 | WARN 4 | SKIP 19 | PASS 158 ]
  
  ══ Skipped tests (19) ══════════════════════════════════════════════════════════
  • !requireNamespace("taxize", quietly = TRUE) is TRUE (1):
    'test-taxonRectification.R:13:3'
  • !requireNamespace("waffle") is TRUE (2): 'test-sumFig.R:43:3',
    'test-sumFig.R:52:3'
  • GBIF login available (1): 'test-GBIFLoginManager.R:16:3'
  • On CRAN (14): 'test-GBIFLoginManager.R:24: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'
  • internet connection established (1): 'test-occCitation.R:115:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-taxonRectification.R:49:3'): taxonRectification performs as expected ──
  Expected `testResult$`Best Match`[1] == "Buteo buteo"` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-taxonRectification.R:50:3'): taxonRectification performs as expected ──
  Expected `testResult$`Searched Taxonomic Databases w/ Matches` == "NCBI"` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 2 | WARN 4 | SKIP 19 | PASS 158 ]
  Error:
  ! Test failures.
  Execution halted