test_that("util functions", {
x <- list(x = 1, y = 2)
y <- list(x = 2)
checkmate::expect_list(
combine_named_lists(x, y, FALSE),
len = length(x) + length(y)
)
checkmate::expect_list(
combine_named_lists(x, y, TRUE),
len = length(x)
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.