r-spatial / sf

Compare ea94efe ... +0 ... 7f32cbb

Showing 1 of 1 files from the diff.

@@ -649,7 +649,7 @@
Loading
649 649
# after checking identical crs,
650 650
# call geos_op2 function op on x and y:
651 651
# DE-9IM compliant should use model = "closed", more robust seems:
652 -
geos_op2_geom = function(op, x, y, s2_model = "semi-open", ...) {
652 +
geos_op2_geom = function(op, x, y, model = "semi-open", ...) {
653 653
	stopifnot(st_crs(x) == st_crs(y))
654 654
	x = st_geometry(x)
655 655
	y = st_geometry(y)
@@ -660,7 +660,7 @@
Loading
660 660
				sym_difference = s2::s2_sym_difference,
661 661
				union = s2::s2_union, stop("invalid operator"))
662 662
		# to be optimized -- this doesn't index on y:
663 -
		lst = structure(unlist(lapply(y, function(yy) fn(x, yy, s2::s2_options(model = s2_model, ...))),
663 +
		lst = structure(unlist(lapply(y, function(yy) fn(x, yy, s2::s2_options(model = model, ...))),
664 664
			recursive = FALSE), class = "s2_geography")
665 665
		e = s2::s2_is_empty(lst)
666 666
		idx = cbind(rep(seq_along(x), length(y)), rep(seq_along(y), each = length(x)))

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
R 87.88%
src 77.62%
Project Totals (66 files) 83.63%
Loading