tests/testthat/test-tp_refs.R

context("tp_refs")

test_that("tp_refs returns the correct class", {
  skip_on_cran() # uses secrets
  vcr::use_cassette("tp_refs", {
    ttt <- suppressMessages(tp_refs(id = 25509881))
  }, preserve_exact_body_bytes = TRUE)

	expect_that(ttt, is_a("data.frame"))
})

Try the taxize package in your browser

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

taxize documentation built on Sept. 11, 2024, 6:13 p.m.