context("anomaly")
test_that("Testing the file anomaly.R", {
x <- anomaly(r, b, asEFFIS = TRUE)
expect_true(raster::cellStats(x, max) == 6)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.