tests/testthat/test-na.R

test_that("NA_term_", {
  expect_identical(NA_term_, new_term(NA_character_))
  expect_true(is_term(NA_term_))
  expect_true(is.na(NA_term_))
})

Try the term package in your browser

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

term documentation built on Sept. 29, 2022, 5:14 p.m.