tests/testthat/test-used_synonyms.R

context("retrieving used synonyms and used concepts")

test_that("used_synonyms is working", {
  expect_is(used_synonyms(Kenya_veg), "data.frame")
})

test_that("used_concepts is working", {
  expect_is(used_concepts(Kenya_veg), "taxlist")
})

Try the vegtable package in your browser

Any scripts or data that you put into this service are public.

vegtable documentation built on March 31, 2023, 10:33 p.m.