context('orderer')
# TODO: Test on prediction as well
test_that("it orders a dataframe correctly", {
iris2 <- iris
orderer(iris2, 'Sepal.Length')
expect_equal(iris2, iris[order(iris$Sepal.Length), ])
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.