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

Fix subsetting sfc objects in newer versions of {sf}.

parent 00fd8ef6
Package: mapMCDA
Title: Produce an epidemiological risk map by weighting multiple risk
factors
Version: 0.4.58
Version: 0.4.59
Date: 2021-10-23
Authors@R: c( person("Andrea", "Apolloni", email =
"andrea.apolloni@cirad.fr", role = c("ctb"), comment = "Animal
......@@ -22,7 +22,7 @@ Authors@R: c( person("Andrea", "Apolloni", email =
Description: Use a Shiny interface to help users import multiple layers
of risk factors, scale and combine them using a Multi-Criteria
Decision Analysis approach to produce a risk map as an outcome.
Depends: R (>= 3.5)
Depends: R (>= 4.0)
License: GPL-3 + file LICENSE
Encoding: UTF-8
LazyData: true
......
......@@ -268,7 +268,7 @@ setMethod(
)
class(sub_x) <- class(x)
attr(sub_x, "geom_node") <- attr(x, "geom_node")[!idx,]
attr(sub_x, "geom_node") <- attr(x, "geom_node")[!idx]
} else {
sub_x <- x
}
......
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