r-spatial / sf
Showing 1 of 2 files from the diff.
Other files ignored by Codecov
NAMESPACE has changed.

@@ -9,3 +9,17 @@
Loading
9 9
	d$geometry <- structure(as.list(d$geometry), class = "WKB")
10 10
	st_as_sf(d, crs = x@ptr$get_crs("wkt"))
11 11
}
12 +
13 +
#' @export
14 +
st_crs.SpatRaster = function(x, ...) {
15 +
	if (!requireNamespace("terra", quietly = TRUE))
16 +
		stop("package terra required, please install it first") # nocov
17 +
	st_crs(terra::crs(x))
18 +
}
19 +
20 +
#' @export
21 +
st_crs.SpatVector = function(x, ...) {
22 +
	if (!requireNamespace("terra", quietly = TRUE))
23 +
		stop("package terra required, please install it first") # nocov
24 +
	st_crs(terra::crs(x))
25 +
}
Files Coverage
R 88.28%
src 77.63%
Project Totals (66 files) 83.83%
Notifications are pending CI completion. Waiting for GitHub's status webhook to queue notifications. Push notifications now.
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