tests/testthat/test-pathdistGen.R

context("pathdistGen")

test_that("pathdistGen works", {
	skip_on_cran()
	skip_on_travis()
	skip_on_appveyor()
  
  expect_error(pathdistGen(1, raster::raster(1), 1, progressbar = FALSE),
  						 "spdf object must be of class SpatialPointsDataFrame")
  
})

Try the ipdw package in your browser

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

ipdw documentation built on May 29, 2017, 1:53 p.m.