Running ‘testthat.R’ [44s/151s]
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 183 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (14)
  • internet connection established (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-GBIFtableCleanup.R:16:3): behaves as expected when given a stored GBIF table ──
  Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: HTTP/2 stream 2177 was not closed cleanly before end of the underlying stream
  Backtrace:
       ▆
    1. └─occCite:::gbifRetriever(taxon) at test-GBIFtableCleanup.R:16:2
    2.   └─occCite:::tabGBIF(res, taxon = taxon)
    3.     ├─base::unlist(...)
    4.     └─base::lapply(...)
    5.       └─occCite FUN(X[[i]], ...)
    6.         ├─rgbif::gbif_citation(y)
    7.         └─rgbif:::gbif_citation.character(y)
    8.           └─rgbif:::as_occ_d_key(x)
    9.             └─rgbif::datasets(uuid = x)
   10.               └─rgbif:::getdata(data)
   11.                 └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
   12.                   └─cli$get(query = args)
   13.                     └─private$make_request(rr)
   14.                       └─crul:::crul_fetch(opts)
   15.                         └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  [ FAIL 1 | WARN 1 | SKIP 15 | PASS 183 ]
  Error: Test failures
  Execution halted