context("Rd: keyword")
test_that("keywords split into pieces", {
out <- roc_proc_text(rd_roclet(), "
#' @keywords a b
#' @title a
#' @name a
NULL")[[1]]
expect_match(get_tag(out, "keyword")$values, fixed("a"), all = FALSE)
expect_match(get_tag(out, "keyword")$values, fixed("b"), all = FALSE)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.