Bindings to Selected 'liblwgeom' Functions for Simple Features
Overview
Access to selected functions found in 'liblwgeom' https://github.com/postgis/postgis/tree/master/liblwgeom, the light-weight geometry library used by 'PostGIS' http://postgis.net/.
Install
Health
NOTEtestsr-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Running ‘azimuth.R’ Comparing ‘azimuth.Rout’ to ‘azimuth.Rout.save’ ... OK Running ‘dist.R’ Comparing ‘dist.Rout’ to ‘dist.Rout.save’ ... OK Running ‘geod.R’ Comparing ‘geod.Rout’ to ‘geod.Rout.save’ ... OK Running ‘perimeter.R’ Comparing ‘perimeter.Rout’ to ‘perimeter.Rout.save’ ... 9c9 < [1] 176215.7 149266.8 199587.9 375136.8 263512.7 --- > [1] 176214.9 149265.4 199586.8 375137.8 263512.6 12c12 < [1] 176215.7 149266.8 199587.9 375136.8 263512.7 --- > [1] 176214.9 149265.4 199586.8 375137.8 263512.6 Running ‘testthat.R’ Comparing ‘testthat.Rout’ to ‘testthat.Rout.save’ ... OK Running ‘twkb.R’ Comparing ‘twkb.Rout’ to ‘twkb.Rout.save’ ... OK
- NOTE11 OK, 2 NOTE2026-07-20
- WARNING9 OK, 3 NOTE, 1 WARNING2026-07-16
- NOTE9 OK, 5 NOTE2026-04-22
- ERROR8 OK, 5 NOTE, 1 ERROR2026-04-18
- NOTE9 OK, 5 NOTE2026-03-10
Documentation
- Help pages
- 19 (1 internal)
- Examples that run
- 100%15 run in a plain check
- Exported functions with examples
- 78%
- Documented parameters
- 100%
- Return-value docs
- 61%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 80%
- Median days to close, 50 most recently updated closed issues
- 10
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs 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/r-spatial/lwgeom on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-19 · The repository has a site deploy workflow
pkgdown site last built 2026-07-19
Show all practicesHide 2 practices
Dependencies
Installing lwgeom adds 9 packages (8 with compiled code, 17 MB of source tarballs). Heaviest: sf 9.3 MB, s2 2.8 MB, Rcpp 1.8 MB.
Show the 48 most downloaded packagesHide the 48 most downloaded packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2-17Latest
- 0.2-162026-05-03 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 0.2-15
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.2-14
- 0.2-132023-05-22 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.2-112023-01-14 · diff ↗
- 0.2-102022-11-19 · diff ↗
- 0.2-92022-10-01 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.2-82021-10-06 · diff ↗
- 0.2-7
- RR 4.1.0 released · 2021-05-18
Show 19 earlier eventsHide 19 earlier events
- 0.2-62021-04-02 · diff ↗
- 0.2-52020-06-13 · diff ↗
- 0.2-42020-05-20 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.2-32020-04-12 · diff ↗
- 0.2-2
- 0.2-1
- 0.2-02020-01-31 · diff ↗
- 0.1-72019-05-06 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.1-6
- 0.1-52018-12-07 · diff ↗ ·
added 8 exports
st_asewkt, st_astext, st_force_polygon_cw, st_is_polygon_cw, st_linesubstring, st_perimeter, st_perimeter_2d, st_startpoint - RR 3.5.0 released · 2018-04-23
- 0.1-42018-01-28 · diff ↗
- 0.1-3
- 0.1-22017-12-19 · diff ↗
- 0.1-1
- 0.1-02017-11-16
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-11-16
- Total releases
- 25 / 9 yrs
- License
- GPL-2 OSI
- Copyright
- See COPYRIGHTS in the package
- Minimum R
- ≥ 4.1.0
- Download size
- 469 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("lwgeom")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-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.