test_that("abort_bad_argument works", {
expect_error(abort_bad_argument("arg"),
"`arg` est obligatoire et ne peut être null",
class = "error_bad_argument")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.