inst/tinytest/test_NumberSuffix2Raw.R

expect_equal(healthyAddress:::NumberSuffix2Raw("A"),
             charToRaw('A'))

expect_equal(healthyAddress:::get_suffix("2/18B MULGARA LOOP, THROSBY ACT 2914"),
             healthyAddress:::NumberSuffix2Raw('B'))
expect_equal(healthyAddress:::get_suffix(" "), as.raw(0))
expect_equal(healthyAddress:::NumberSuffixFromRaw(healthyAddress:::NumberSuffix2Raw("A")), "A")

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.