tests/testthat/test-format.R

test_that("multiplication works", {
  fmt <- format_num("~s")
  expect_is(fmt, "JS_EVAL")
  expect_error(format_num(".0f", locale = "DONT_EXIST"))
})

Try the apexcharter package in your browser

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

apexcharter documentation built on July 9, 2023, 7:55 p.m.