Running 'testthat.R' [63s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(occCite)
  > 
  > test_check("occCite")
  Saving _problems/test-occCitation-80.R
  Saving _problems/test-occCitation-82.R
  Saving _problems/test-occCitation-86.R
  Saving _problems/test-occCitation-89.R
  Saving _problems/test-occCitation-93.R
  Saving _problems/test-occCitation-95.R
  Saving _problems/test-occCitation-99.R
  Saving _problems/test-occCitation-101.R
  Saving _problems/test-occCitation-105.R
  Saving _problems/test-occCitation-107.R
  Saving _problems/test-occCitation-110.R
  Saving _problems/test-occCitation-111.R
  	
   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.3"
  Failed with error:  'there is no package called 'waffle''
  Failed with error:  'there is no package called 'waffle''
  [ FAIL 12 | WARN 0 | SKIP 20 | PASS 154 ]
  
  ══ Skipped tests (20) ══════════════════════════════════════════════════════════
  • !requireNamespace(paste0("waf", "fle"), quietly = TRUE) is TRUE (2):
    'test-sumFig.R:47:3', 'test-sumFig.R:56: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'
  • empty test (2): 'test-sumFig.R:13:1', 'test-sumFig.R:25:1'
  • internet connection established (1): 'test-occCitation.R:115:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-occCitation.R:80:3'): outputs for BIEN results are as expected ──
  Expected `class(testResults) == "occCiteCitation"` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-occCitation.R:82:3'): outputs for BIEN results are as expected ──
  Expected `"occCitationResults" %in% names(testResults)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-occCitation.R:83:3'): outputs for BIEN results are as expected ──
  Expected `class(testResults$occCitationResults[[1]])` to equal "data.frame".
  Differences:
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "data.frame"
  ── Failure ('test-occCitation.R:88:3'): outputs for BIEN results are as expected ──
  Expected `"occSearch" %in% names(testResults$occCitationResults[[1]])` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-occCitation.R:90:3'): outputs for BIEN results are as expected ──
  Expected `class(testResults$occCitationResults[[1]]$occSearch)` to equal "character".
  Differences:
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "character"
  ── Failure ('test-occCitation.R:94:3'): outputs for BIEN results are as expected ──
  Expected `"Dataset Key" %in% names(testResults$occCitationResults[[1]])` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-occCitation.R:96:3'): outputs for BIEN results are as expected ──
  Expected `class(testResults$occCitationResults[[1]]$`Dataset Key`)` to equal "character".
  Differences:
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "character"
  ── Failure ('test-occCitation.R:100:3'): outputs for BIEN results are as expected ──
  Expected `"Citation" %in% names(testResults$occCitationResults[[1]])` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-occCitation.R:102:3'): outputs for BIEN results are as expected ──
  Expected `class(testResults$occCitationResults[[1]]$Citation)` to equal "character".
  Differences:
  1/1 mismatches
  x[1]: "NULL"
  y[1]: "character"
  ── Failure ('test-occCitation.R:106:3'): outputs for BIEN results are as expected ──
  Expected `"Accession Date" %in% names(testResults$occCitationResults[[1]])` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-occCitation.R:109:3'): outputs for BIEN results are as expected ──
  Expected `"Number of Occurrences" %in% names(testResults$occCitationResults[[1]])` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  ── Failure ('test-occCitation.R:111:3'): outputs for BIEN results are as expected ──
  Expected `is.numeric(testResults$occCitationResults[[1]]$`Number of Occurrences`)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 12 | WARN 0 | SKIP 20 | PASS 154 ]
  Error:
  ! Test failures.
  Execution halted