Nothing
test_that("npdims.nlist", {
expect_identical(npdims(nlist::nlist()), integer(0))
expect_identical(
npdims(nlist::nlist(x = 1:3, y = matrix(1, c(2, 3)))),
c(x = 1L, y = 2L)
)
})
test_that("npdims.nlists", {
expect_identical(npdims(nlist::nlists()), integer(0))
expect_identical(npdims(nlist::nlists(nlist::nlist())), integer(0))
expect_identical(
npdims(nlist::nlists(
nlist::nlist(x = 1:3, y = matrix(1, c(2, 3))),
nlist::nlist(x = 1:3, y = matrix(1, c(2, 3)))
)),
c(x = 1L, y = 2L)
)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.