tests/testthat/test-roundR.R

test_that("roundR() rounds flexible to a given precision", {
  expect_equal(roundR(1.234), '1.2')
  expect_equal(roundR(1.234,level = 4,.german = T), '1,234')
})
abusjahn/wrappedtools documentation built on June 10, 2025, 10:52 a.m.