tests/testthat/test-pathdistGen.R

context("pathdistGen")

test_that("pathdistGen works", {
  expect_error(pathdistGen(1, raster::raster(1), 1, progressbar = FALSE),
  						 "sf_ob object must be of class sf")
  
})

Try the ipdw package in your browser

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

ipdw documentation built on Jan. 6, 2023, 1:19 a.m.