r-spatial / sf
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)))
Files Coverage
R 87.88%
src 77.62%
Project Totals (66 files) 83.63%
1
comment: false
2
ignore:
3
  - "inst/include/sf_RcppExports.h" 
4
  - "sf/R/stars.R"
5
  - "sf/R/gdal_utils.R"
6
  - "sf/src/raster2sf.cpp"
7
  - "sf/src/gdal_utils.cpp"
8
  - "sf/src/stars.cpp"
9

10
coverage:
11
  status:
12
    patch:
13
      default:
14
        target: 0
15
        threshold: 100
16
    project:
17
      default:
18
        target: 70
19
        threshold: 100
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading