Tools for Raster Grid Logic
Overview
Provides raster grid logic, operations that describe a discretized rectangular domain and do not require access to materialized data. Grids are arrays with dimension and extent, and many operations are functions of dimension only: number of columns, number of rows, or they are a combination of the dimension and the extent the range in x and the range in y in that order. Here we provide direct access to this logic without need for connection to any materialized data or formats. Grid logic includes functions that relate the cell index to row and column, or row and column to cell index, row, column or cell index to position. These methods are described in Loudon, TV, Wheeler, JF, Andrew, KP (1980) doi:10.1016/0098-3004(80)90015-1, and implementations were in part derived from Hijmans R (2024) doi:10.32614/CRAN.package.terra.
- New function
adjacency()for cell-based neighbourhood lookup, replacing the old matrix shift functions (tl(),bl(),tr(),br(),la(),ta(),ra(),ba()). The new function takesdimensionandcellarguments consistent with the rest of vaster, returning a matrix of neighbour cell indices with named columns for direction. Supports"queen","rook", and"bishop"neighbourhood types. - Renamed
ts()andte()togdal_ts()andgdal_te()to avoid maskingstats::ts().
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK4 OK2026-03-10
Documentation
- Help pages
- 30includes a package overview page
- Examples that run
- 100%29 run in a plain check (1 of them under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 1,205
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Issues over time
Commits over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/hypertidy/vaster on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-15 · The repository has a site deploy workflow
pkgdown site last built 2026-10-15
Show all practicesHide 2 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-09-23Commits: at least 1 crediting it in the message
- Claude Opus 5.51 commit · Sep 2026
Dependencies
Installing vaster adds no packages beyond those that come with R.
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- 0.6.0Latestfirst seen 2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First seen
- 2026-03-10
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 367 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("vaster")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.