Running ‘testthat.R’ [3s/125s]
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")
  ── Skip (test_commonnames.R:5:3): test common to sci name ──────────────────────
  Reason: On CRAN
  
  ── Skip (test_commonnames.R:24:3): test sci to common names ────────────────────
  Reason: On CRAN
  
  ── Skip (test_distribution.R:4:3): We can query locations ──────────────────────
  Reason: On CRAN
  
  ── Skip (test_ecology.R:3:3): we can call the ecology table ────────────────────
  Reason: On CRAN
  
  ── Skip (test_ecology.R:13:3): We can query trophic level fields only ──────────
  Reason: On CRAN
  
  ── Skip (test_endpoint.R:9:3): Custom queries give desired result ──────────────
  Reason: On CRAN
  
  ── Skip (test_list_fields.R:5:3): we can search for a field name ───────────────
  Reason: On CRAN
  
  ── Skip (test_load_taxa.R:5:3): We can load taxa from online ───────────────────
  Reason: On CRAN
  
  ── Skip (test_maturity.R:5:13): returns a data.frame with correct sciname ──────
  Reason: On CRAN
  
  ── Skip (test_morpho_physio.R:5:3): population_dynamics methods can all be calle
  Reason: On CRAN
  
  ── Skip (test_population_dynamics.R:5:3): population_dynamics methods can all be
  Reason: On CRAN
  
  ── Skip (test_species.R:4:3): We can extract generic information from the specie
  Reason: On CRAN
  
  ── Skip (test_species.R:12:3): Check some classes and values of species table ──
  Reason: On CRAN
  
  ── Skip (test_species.R:21:3): We can pass a species_list based on taxanomic gro
  Reason: On CRAN
  
  ── Skip (test_species.R:32:3): We can pass a species_list based on taxanomic gro
  Reason: On CRAN
  
  ── Skip (test_species.R:43:3): We can filter on certain fields ─────────────────
  Reason: On CRAN
  
  ── Warning (test_species_list.R:5:3): We can pass a species_list based on taxano
  downloaded length 0 != reported length 2788345
  
  ── Warning (test_species_list.R:5:3): We can pass a species_list based on taxano
  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%2F20201201%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201201T025330Z&X-Amz-Expires=300&X-Amz-Signature=4724933712c71e9be33bd7e562be984e0632ffbf1fcf8653fd0d10977482e2b5&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': Timeout of 60 seconds was reached
  
  ── ERROR (test_species_list.R:5:3): We can pass a species_list based on taxanomi
  Error: download from 'https://github.com/ropensci/rfishbase/releases/download/fb-19.04/fb.2fspecies.tsv.bz2' failed
  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)
  
  ── Warning (test_species_list.R:13:3): Look up species by SpecCode ─────────────
  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%2F20201201%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201201T025330Z&X-Amz-Expires=300&X-Amz-Signature=4724933712c71e9be33bd7e562be984e0632ffbf1fcf8653fd0d10977482e2b5&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': Timeout of 60 seconds was reached
  
  ── ERROR (test_species_list.R:13:3): Look up species by SpecCode ───────────────
  Error: cannot open URL 'https://github.com/ropensci/rfishbase/releases/download/fb-19.04/fb.2fspecies.tsv.bz2'
  Backtrace:
      █
   1. └─rfishbase::species_list(SpecCode = 5537) test_species_list.R:13: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)
  
  ── Skip (test_synonyms.R:6:3): synonyms can query by species ───────────────────
  Reason: On CRAN
  
  ── Skip (test_synonyms.R:15:3): synonyms can resolve misspellings ──────────────
  Reason: On CRAN
  
  ── Skip (test_synonyms.R:25:3): We can validate names ──────────────────────────
  Reason: On CRAN
  
  ── Skip (test_trophic_ecology.R:3:3): we can call the trpohic ecology informatio
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (20)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  Warning (test_species_list.R:5:3): We can pass a species_list based on taxanomic group
  Warning (test_species_list.R:5:3): We can pass a species_list based on taxanomic group
  ERROR (test_species_list.R:5:3): We can pass a species_list based on taxanomic group
  Warning (test_species_list.R:13:3): Look up species by SpecCode
  ERROR (test_species_list.R:13:3): Look up species by SpecCode
  
  [ FAIL 2 | WARN 3 | SKIP 20 | PASS 5 ]
  Error: Test failures
  Execution halted