tests/testthat/test-nr_to_na.R

test_that("normal usage", {
  expect_equal(nr_to_na('NR'), NA_character_)
  expect_equal(nr_to_na(c('NR', 'a')), c(NA_character_, 'a'))
})

Try the quincunx package in your browser

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

quincunx documentation built on July 9, 2023, 7:32 p.m.