sftime
Classes and Methods for Simple Feature Objects that Have a Time Column
v0.3.2
·
May 9, 2026
·
Apache License
Description
Classes and methods for spatial objects that have a registered time column, in particular for irregular spatiotemporal data. The time column can be of any type, but needs to be ordinal. Regularly laid out spatiotemporal data (vector or raster data cubes) are handled by package 'stars'.
Downloads
CRAN
17.9K
Last 30 days
905th
60.4K
Last 90 days
256K
Last year
Trend: -21.9% (30d vs prior 30d)
r2u
640
Last 30 days
1.3K
Last 90 days
2.6K
Last year
Trend: +73.4% (30d vs prior 30d)
CRAN Check Status
13
OK
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 17, 2026
ERROR 10 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE May 7, 2026
ERROR
r-devel-linux-x86_64-fedora-clang
examples
Running examples in ‘sftime-Ex.R’ failed The error most likely occurred in: > ### Name: st_cast > ### Title: Cast geometry to another type: either simplify, or cast > ### explicitly > ### Aliases: st_cast st_cast.sftime > > ### ** Examples > > # ...[truncated]... g, time = time) %>% + dplyr::group_by(time) %>% + dplyr::summarize(do_union = TRUE) %>% + st_cast(to = "LINESTRING") Error in st_sftime(a = 3:4, g, time = time) %>% dplyr::group_by(time) %>% : could not find function "%>%" Execution halted
ERROR
r-devel-linux-x86_64-fedora-gcc
examples
Running examples in ‘sftime-Ex.R’ failed The error most likely occurred in: > ### Name: st_cast > ### Title: Cast geometry to another type: either simplify, or cast > ### explicitly > ### Aliases: st_cast st_cast.sftime > > ### ** Examples > > # ...[truncated]... g, time = time) %>% + dplyr::group_by(time) %>% + dplyr::summarize(do_union = TRUE) %>% + st_cast(to = "LINESTRING") Error in st_sftime(a = 3:4, g, time = time) %>% dplyr::group_by(time) %>% : could not find function "%>%" Execution halted
ERROR
r-oldrel-windows-x86_64
examples
Running examples in 'sftime-Ex.R' failed The error most likely occurred in: > ### Name: st_crop.sftime > ### Title: Crop an 'sftime' object to a specific rectangle > ### Aliases: st_crop.sftime > > ### ** Examples > > # modified from sf: > box <- c(xmin = 0, ymin = 0, xmax = 1, ymax = 1) > pol <- sf::st_sfc(sf::st_buffer(sf::st_point(c(0.5, 0.5)), 0.6))
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 4, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 30, 2026
ERROR
r-release-windows-x86_64
examples
Running examples in 'sftime-Ex.R' failed The error most likely occurred in: > ### Name: st_cast > ### Title: Cast geometry to another type: either simplify, or cast > ### explicitly > ### Aliases: st_cast st_cast.sftime > > ### ** Examples > > # ...[truncated]... st from POINT to LINESTRING > g <- st_sfc(st_point(1:2), st_point(c(2, 4))) > time <- Sys.time() > x <- + st_sftime(a = 3:4, g, time = time) %>% + dplyr::group_by(time) %>% + dplyr::summarize(do_union = TRUE) %>% + st_cast(to = "LINESTRING")
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 24, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 20, 2026
ERROR
r-release-windows-x86_64
examples
Running examples in 'sftime-Ex.R' failed The error most likely occurred in: > ### Name: st_cast > ### Title: Cast geometry to another type: either simplify, or cast > ### explicitly > ### Aliases: st_cast st_cast.sftime > > ### ** Examples > > # ...[truncated]... st from POINT to LINESTRING > g <- st_sfc(st_point(1:2), st_point(c(2, 4))) > time <- Sys.time() > x <- + st_sftime(a = 3:4, g, time = time) %>% + dplyr::group_by(time) %>% + dplyr::summarize(do_union = TRUE) %>% + st_cast(to = "LINESTRING")
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 16, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 15, 2026
ERROR
r-devel-windows-x86_64
examples
Running examples in 'sftime-Ex.R' failed The error most likely occurred in: > ### Name: st_join > ### Title: Spatial join, spatial filter for 'sftime' objects > ### Aliases: st_join st_join.sftime st_filter.sftime > > ### ** Examples > > g1 <- st_ ...[truncated]... 4-13 21:21:23 POINT (2 2) 2026-04-13 21:21:23 2.1 2 13 2026-04-13 21:21:23 POINT (2 2) 2026-04-13 21:21:23 3 3 14 2026-04-13 21:21:23 POINT (3 3) 2026-04-13 21:21:23 > > # inner spatial join with st_intersects > st_join(x1, x2, left = FALSE)
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 10, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 9, 2026
ERROR
r-devel-windows-x86_64
examples
Running examples in 'sftime-Ex.R' failed
The error most likely occurred in:
> ### Name: st_join
> ### Title: Spatial join, spatial filter for 'sftime' objects
> ### Aliases: st_join st_join.sftime st_filter.sftime
>
> ### ** Examples
>
> g1 <- st_
...[truncated]...
time.x
2 2 12 2026-04-08 09:50:25 POINT (2 2) 2026-04-08 09:50:25
2.1 2 13 2026-04-08 09:50:25 POINT (2 2) 2026-04-08 09:50:25
3 3 14 2026-04-08 09:50:25 POINT (3 3) 2026-04-08 09:50:25
>
> ## st_filter
>
> st_filter(x1, x2)