tests/testthat/test-tl_import.R

test_that("tl_import", {

  path <- tl_import("itis_test")
  expect_true(all(file.exists(unlist(path))))

})

test_that("tl_import", {
  skip_on_cran()
  skip_if_offline()

  path <- tl_import("itis", version="22.12")
  expect_true(all(file.exists(unlist(path))))

})

Try the taxadb package in your browser

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

taxadb documentation built on March 31, 2023, 10:20 p.m.