context("test-terkini")
test_that("terkini berfungsi", {
expect_error(terkini(n = 0))
expect_error(terkini(berdasarkan = "diunggah"))
expect_equal(nrow(terkini()), 5)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.