tests/testthat/test-english_names.R

test_that("make_english_names works", {
  expect_equal(
    length(make_english_names(2)),
    2
  )
  expect_true(all(grepl(
    "\\d$",
    make_english_names(100, retry = TRUE)
  )))
})

Try the proceduralnames package in your browser

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

proceduralnames documentation built on Oct. 12, 2021, 5:08 p.m.