test_that("returns accurate indices for matrix input", { x <- diag(4) expect_equal(edge_indices(x), c(1, 6, 11, 16)) })
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.