tests/testthat/test_trophic_ecology.R

context("trophic_ecology")
test_that("we can call the trophic ecology information  table", {
  needs_api()

  df <- diet_items() # not a species-oriented table
  expect_is(df, "tbl")
    
  df <- fooditems("Oreochromis niloticus")
  expect_is(df, "tbl")
})
ropensci/rfishbase documentation built on June 27, 2023, 4:48 p.m.