Skip to content

starsExtra

Miscellaneous Functions for Working with 'stars' Rasters

v0.2.8 · Jan 13, 2024 · MIT + file LICENSE

Description

Miscellaneous functions for working with 'stars' objects, mainly single-band rasters. Currently includes functions for: (1) focal filtering, (2) detrending of Digital Elevation Models, (3) calculating flow length, (4) calculating the Convergence Index, (5) calculating topographic aspect and topographic slope.

Downloads

391

Last 30 days

9681st

1.1K

Last 90 days

5K

Last year

Trend: -5.1% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 3, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 2, 2026
ERROR r-devel-windows-x86_64

examples

Running examples in 'starsExtra-Ex.R' failed
The error most likely occurred in:

> ### Name: dist_to_nearest
> ### Title: Calculate raster of distances to nearest feature
> ### Aliases: dist_to_nearest
> 
> ### ** Examples
> 
> # Sample 'sf' layer
> x = st_point(c(0,0))
> y = st_point(c(1,1))
> x = st_sfc(x, y)
> x = st_sf(x)
> x = st_buffer(x, 0.5)
> 
> # Make grid
> r = make_grid(x, res = 0.1, buffer = 0.5)
> d = dist_to_nearest(r, x, progress = FALSE)
lines or polygons
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 31, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 27, 2026
ERROR r-devel-windows-x86_64

examples

Running examples in 'starsExtra-Ex.R' failed
The error most likely occurred in:

> ### Name: dist_to_nearest
> ### Title: Calculate raster of distances to nearest feature
> ### Aliases: dist_to_nearest
> 
> ### ** Examples
> 
> # Sample 'sf' layer
> x = st_point(c(0,0))
> y = st_point(c(1,1))
> x = st_sfc(x, y)
> x = st_sf(x)
> x = st_buffer(x, 0.5)
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (2)

Dependency Network

Dependencies Reverse dependencies sf stars mgcv nngeo units gbm.auto movegroup starsExtra

Version History

new 0.2.8 Mar 10, 2026
updated 0.2.8 ← 0.2.7 diff Jan 12, 2024
updated 0.2.7 ← 0.2.6 diff Nov 17, 2021
updated 0.2.6 ← 0.2.5 diff Sep 5, 2021
updated 0.2.5 ← 0.2.4 diff Jun 14, 2021
updated 0.2.4 ← 0.2.2 diff Mar 15, 2021
updated 0.2.2 ← 0.2.0 diff Jan 9, 2021
updated 0.2.0 ← 0.1.2 diff Oct 31, 2020
updated 0.1.2 ← 0.1.0 diff Aug 30, 2020
updated 0.1.0 ← 0.0.3 diff Jun 24, 2020
new 0.0.3 Apr 21, 2020