Nothing
test_that("test.is_raster.a_matrix.returns_false", {
m <- matrix(hcl(0, 80, seq(50, 80, 10)), nrow = 4, ncol = 5)
expect_false(is_raster(m))
})
test_that("test.is_raster.a_raster.returns_true", {
m <- matrix(hcl(0, 80, seq(50, 80, 10)), nrow = 4, ncol = 5)
expect_true(is_raster(as.raster(m)))
})
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.