Skip to content

Commit 37b36a4

Browse files
committed
closes #1926
1 parent e24b5f6 commit 37b36a4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# version 1.0-13
22

3+
* `st_as_sf.ppplist()` is deprecated; #1926
4+
35
* `st_cast()` handles empty geometries; #1961
46

57
* don't repeat longlat messages in `summarise.sf()`; #1519

R/spatstat.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ st_as_sf.ppp = function(x, ...) {
5656

5757
#' @export
5858
st_as_sf.ppplist = function(x, ...) {
59+
.Deprecated(msg = "see https://github.com/r-spatial/sf/issues/1926") # sf 1.0-13, Mar 27 2023
5960
w = st_geometry(st_as_sf(x[[1]]))[1]
6061
sim = st_sfc(lapply(x, function(p) do.call(c, st_geometry(st_as_sf(p))[-1])))
6162
st_sf(label = c("window", names(x)), geom = c(w, sim))

0 commit comments

Comments
 (0)