Running ‘testthat.R’ [70s/202s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(occCite)
  > 
  > test_check("occCite")
  [1] "NOTE: 1 BIEN dataset(s) for Protea cynaroides is/are missing citation data. Key(s) missing citations are: 280. Source(s) are identified as: MO."
  	
   OccCite query occurred on: 24 November, 2020
  	
   User query type: User-supplied list of taxa.
  	
   Sources for taxonomic rectification: NCBI
   	
  	
   Taxonomic cleaning results: 	
  
           Input Name        Best Match Taxonomic Databases w/ Matches
  1 Protea cynaroides Protea cynaroides                           NCBI
  	
   Sources for occurrence data: gbif, bien
   	
              Species Occurrences Sources
  1 Protea cynaroides        1293      17
  	
   GBIF dataset DOIs: 	
  
              Species GBIF Access Date           GBIF DOI
  1 Protea cynaroides       2020-11-23 10.15468/dl.2449qy
  	
   OccCite query occurred on: 24 November, 2020
  	
   User query type: User-supplied list of taxa.
  	
   Sources for taxonomic rectification: NCBI
   	
  	
   Taxonomic cleaning results: 	
  
           Input Name        Best Match Taxonomic Databases w/ Matches
  1 Protea cynaroides Protea cynaroides                           NCBI
  	
   Sources for occurrence data: gbif
   	
              Species Occurrences Sources
  1 Protea cynaroides        1145      12
  	
   GBIF dataset DOIs: 	
  
              Species GBIF Access Date           GBIF DOI
  1 Protea cynaroides       2020-11-23 10.15468/dl.2449qy
  	
   OccCite query occurred on: 24 November, 2020
  	
   User query type: User-supplied list of taxa.
  	
   Sources for taxonomic rectification: NCBI
   	
  	
   Taxonomic cleaning results: 	
  
           Input Name        Best Match Taxonomic Databases w/ Matches
  1 Protea cynaroides Protea cynaroides                           NCBI
  	
   Sources for occurrence data: bien
   	
              Species Occurrences Sources
  1 Protea cynaroides         148       5
  [ FAIL 1 | WARN 1 | SKIP 15 | PASS 192 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (14)
  • internet connection established (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-occCitePrint.R:22:3): (code run outside of `test_that()`) ───────
  Error in `strsplit(occResults$GBIF$Metadata$modified, "T")`: non-character argument
  Backtrace:
      ▆
   1. └─occCite::occCitation(myPhyOccCiteObject) at test-occCitePrint.R:22:2
   2.   └─base::strsplit(occResults$GBIF$Metadata$modified, "T")
  
  [ FAIL 1 | WARN 1 | SKIP 15 | PASS 192 ]
  Error: Test failures
  Execution halted