inst/tinytest/test_max_nchar.R

library(healthyAddress)

expect_equal(healthyAddress:::max_nchar(c("a", "bc")), 2L)
expect_equal(healthyAddress:::max_nchar(c("", "")), 0L)

Try the healthyAddress package in your browser

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

healthyAddress documentation built on April 12, 2025, 1:28 a.m.