Running ‘testthat.R’ [20s/322s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rfishbase)
  > options(is_test = TRUE) # set user-agent to distinguish automated tests
  > 
  > 
  > Sys.setenv(GITHUB_TOKEN=paste0("b2b7441d", "aeeb010b", "1df26f1f6", "0a7f1ed", 
  +                                "c485e443"))
  > 
  > test_check("rfishbase")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (20)
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test_species_list.R:5:3): We can pass a species_list based on taxanomic group ──
  URL 'https://github-production-release-asset-2e65be.s3.amazonaws.com/2799822/59f10180-968e-11e9-8fca-39b072e6c43d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201222%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201222T003300Z&X-Amz-Expires=300&X-Amz-Signature=a14578ab4ad893489a5ba79f1c901600d161c2ab2f5c53418fab363caac637ca&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=2799822&response-content-disposition=attachment%3B%20filename%3Dfb.2fspecies.tsv.bz2&response-content-type=application%2Foctet-stream': status was 'Couldn't connect to server'
  Backtrace:
   1. rfishbase::species_list(Genus = "Labroides") test_species_list.R:5:2
   2. rfishbase::load_taxa(server)
   4. rfishbase:::`_f`(server = server, ... = ...)
   5. rfishbase:::fb_taxa_table(server)
   6. rfishbase:::fb_tbl("species", server)
   8. rfishbase:::`_f`(tbl = tbl, server = server, ... = ...)
   9. utils::download.file(addr, tmp, quiet = TRUE)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_species_list.R:5:3): We can pass a species_list based on taxanomic group ──
  Error: cannot open URL 'https://github.com/ropensci/rfishbase/releases/download/fb-19.04/fb.2fspecies.tsv.bz2'
  Backtrace:
      █
   1. └─rfishbase::species_list(Genus = "Labroides") test_species_list.R:5:2
   2.   └─rfishbase::load_taxa(server)
   3.     ├─base::withVisible(`_f`(server = server, ... = ...))
   4.     └─rfishbase:::`_f`(server = server, ... = ...)
   5.       └─rfishbase:::fb_taxa_table(server)
   6.         └─rfishbase:::fb_tbl("species", server)
   7.           ├─base::withVisible(`_f`(tbl = tbl, server = server, ... = ...))
   8.           └─rfishbase:::`_f`(tbl = tbl, server = server, ... = ...)
   9.             └─utils::download.file(addr, tmp, quiet = TRUE)
  
  [ FAIL 1 | WARN 1 | SKIP 20 | PASS 7 ]
  Error: Test failures
  Execution halted