Running ‘testthat.R’ [73s/203s]
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."
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • GBIF Login information not available (1)
  • On CRAN (14)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-studyTaxonList.R:20:3): studyTaxonList works with a phylogeny ───
  Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: SSL certificate problem: certificate has expired
  Backtrace:
      █
   1. └─occCite::studyTaxonList(x = phylogeny, datasources = c("National Center for Biotechnology Information")) test-studyTaxonList.R:20:2
   2.   ├─base::withCallingHandlers(...)
   3.   └─occCite::taxonRectification(taxName = targets[[i]], datasources = datasources)
   4.     └─taxize::gnr_datasources()
   5.       └─cli$get()
   6.         └─private$make_request(rr)
   7.           └─crul:::crul_fetch(opts)
   8.             └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  ── Error (test-studyTaxonList.R:47:3): studyTaxonList works with a vector of species ──
  Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: SSL certificate problem: certificate has expired
  Backtrace:
      █
   1. └─occCite::studyTaxonList(x = taxVector, datasources = c("National Center for Biotechnology Information")) test-studyTaxonList.R:47:2
   2.   ├─base::withCallingHandlers(...)
   3.   └─occCite::taxonRectification(taxName = targets[[i]], datasources = datasources)
   4.     └─taxize::gnr_datasources()
   5.       └─cli$get()
   6.         └─private$make_request(rr)
   7.           └─crul:::crul_fetch(opts)
   8.             └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  ── Error (test-taxonRectification.R:6:3): functions on which it depends function as necessary ──
  Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: SSL certificate problem: certificate has expired
  Backtrace:
      █
   1. └─taxize::gnr_datasources() test-taxonRectification.R:6:2
   2.   └─cli$get()
   3.     └─private$make_request(rr)
   4.       └─crul:::crul_fetch(opts)
   5.         └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  ── Error (test-taxonRectification.R:27:3): taxonRectification performs as expected ──
  Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: SSL certificate problem: certificate has expired
  Backtrace:
      █
   1. └─occCite::taxonRectification(...) test-taxonRectification.R:27:2
   2.   └─taxize::gnr_datasources()
   3.     └─cli$get()
   4.       └─private$make_request(rr)
   5.         └─crul:::crul_fetch(opts)
   6.           └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  [ FAIL 4 | WARN 0 | SKIP 15 | PASS 141 ]
  Error: Test failures
  Execution halted