tests/testthat/test-isalnum.R

test_that("strs_isalnum works", {
  expect_true(strs_isalnum("word123"))
  expect_false(strs_isalnum("word123::"))
})

Try the strs package in your browser

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

strs documentation built on Sept. 11, 2024, 6:44 p.m.