Nothing
test_that("evaluate_helper works", {
m <- matrix(1, ncol = 2, nrow = 2)
vec <- 1:2
res <- evaluate_helper(m, vec)
expect_equal(res, c(0L, 1L))
})
test_that("evaluate_helper mean", {
m <- matrix(1, ncol = 2, nrow = 2)
m[1, 1] <- 0
vec <- 1:2
res <- evaluate_helper(m, vec)
expect_equal(res, c(0.5, 1L))
})
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.