tests/testthat/test-get_species.R

version_names <- c("", "2024","2022")


for(version in version_names){
  title <- paste0("AMBI species ", version)

  test_that(title, {
    testthat::expect_no_error(ambiR::AMBI_species(version))
  })

}

Try the ambiR package in your browser

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

ambiR documentation built on Dec. 20, 2025, 1:06 a.m.