tests/testthat/test_load_taxa.R

context("load taxa")

test_that("We can load taxa", {

  needs_api()
  df <- load_taxa(server = "fishbase")
  expect_is(df, "tbl")
  
  
  df <- load_taxa(server="sealifebase")
  expect_is(df, "tbl")

})
ropensci/rfishbase documentation built on June 27, 2023, 4:48 p.m.