tests/testthat/test-anomaly.R

context("anomaly")

test_that("Testing the file anomaly.R", {

  x <- anomaly(r, b)
  expect_true(raster::cellStats(x, max) == 6)

})

Try the caliver package in your browser

Any scripts or data that you put into this service are public.

caliver documentation built on Feb. 19, 2021, 5:07 p.m.