Nothing
test_that("vld_number", {
expect_false(vld_number(numeric(0)))
expect_false(vld_number(NA_integer_))
expect_true(vld_number(1))
expect_true(vld_number(1L))
expect_true(vld_number(1.1))
expect_true(vld_number(-1.1))
expect_true(vld_number(Inf))
expect_false(vld_number(c(1, 2)))
expect_false(vld_number(TRUE))
})
test_that("chk_number", {
expect_identical(chk_number(1), 1)
expect_invisible(chk_number(1))
expect_chk_error(chk_number(TRUE), "^`TRUE` must be a number [(]non-missing numeric scalar[)][.]$")
expect_chk_error(chk_number(TRUE, x_name = 1L), "^1 must be a number [(]non-missing numeric scalar[)][.]$")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.