Nothing
library(rankdist)
context("Cayley Neighbour")
rank = 1:4
test_that("Output type is correct",{
expect_is(CayleyNeighbour(rank),"matrix")
expect_equal(nrow(CayleyNeighbour(rank)),6)
expect_equal(ncol(CayleyNeighbour(rank)),4)
})
test_that("Output value is correct",{
expect_equal_to_reference(file="CayleyNeighbour.rds",CayleyNeighbour(rank))
})
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.