Commit 210115cb authored by Facundo Muñoz's avatar Facundo Muñoz ®️
Browse files

Fix test risk_unit failing due to {raster} API change.

parent 87ac0177
Pipeline #10610 passed with stage
in 54 seconds
Package: mapMCDA
Title: Produce an epidemiological risk map by weighting multiple risk
factors
Version: 0.4.17
Version: 0.4.18
Date: 2020-04-11
Authors@R: c( person("Andrea", "Apolloni", email =
"andrea.apolloni@cirad.fr", role = c("ctb"), comment = "Animal
......
......@@ -77,7 +77,7 @@ test_that("Missing CRS in epidemiological units", {
test_that("Polygons not covering any raster-cell center", {
epi_ext <- raster::bind(raster::shift(epiunits[1], x = -5), epiunits)
epi_ext <- raster::bind(raster::shift(epiunits[1], dx = -5), epiunits)
# plot(r)
# plot(epi_ext, add = TRUE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment