test_that("normal usage", {
expect_equal(n_pages(count = 5, limit = 1), 5L)
expect_equal(n_pages(count = 5, limit = 2), 3L)
expect_equal(n_pages(count = 5, limit = 5), 1L)
expect_equal(n_pages(count = 5, limit = 6), 1L)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.