Running ‘testthat.R’ [2s/3s]
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
  
  ── ERROR (test_species_list.R:5:3): We can pass a species_list based on taxanomi
  Error: 
  GitHub API error (403): 403 Forbidden
  Message: API rate limit exceeded for user ID 10925265.
  Read more at https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting
  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.             ├─base::paste0(dbname, "-", get_release())
   10.             └─rfishbase:::get_release()
   11.               └─rfishbase:::get_latest_release()
   12.                 └─rfishbase::available_releases()
   13.                   ├─`%>%`(...)
   14.                   │ └─base::eval(lhs, parent, parent)
   15.                   │   └─base::eval(lhs, parent, parent)
   16.                   └─gh::gh(...)
   17.                     └─gh:::gh_process_response(raw)
   18.                       └─gh:::gh_error(response)
   19.                         └─throw(cond)
  
  ── ERROR (test_species_list.R:13:3): Look up species by SpecCode ───────────────
  Error: 
  GitHub API error (403): 403 Forbidden
  Message: API rate limit exceeded for user ID 10925265.
  Read more at https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting
  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.             ├─base::paste0(dbname, "-", get_release())
   10.             └─rfishbase:::get_release()
   11.               └─rfishbase:::get_latest_release()
   12.                 └─rfishbase::available_releases()
   13.                   ├─`%>%`(...)
   14.                   │ └─base::eval(lhs, parent, parent)
   15.                   │   └─base::eval(lhs, parent, parent)
   16.                   └─gh::gh(...)
   17.                     └─gh:::gh_process_response(raw)
   18.                       └─gh:::gh_error(response)
   19.                         └─throw(cond)
  
  ── 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  ═══════════════════════════════════════════════════════════
  ERROR (test_species_list.R:5:3): We can pass a species_list based on taxanomic group
  ERROR (test_species_list.R:13:3): Look up species by SpecCode
  
  [ FAIL 2 | WARN 0 | SKIP 20 | PASS 5 ]
  Error: Test failures
  Execution halted