Skip to content

lwgeom

0.2-17Package record

Bindings to Selected 'liblwgeom' Functions for Simple Features

25packages dependsuggested by 54
462.2Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

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

CRAN checks
2NOTE11OK
Check messages
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

CRAN check page ↗

Slowest check: 7.7 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.2-17
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · does not mention 0.2-17Citation fileNoWebsiteYes · pkgdown
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

462.2K
CRAN downloads in the past year
Rank #609 · ~1.3K/day · ~38.5K/mo
Daily download trend is not available in this view yet.
41.9K30 days
97.9K90 days
462.2K1 year
Compare downloads with other packages →
Also on8.1K r2u5 autocran20.9K conda_forge267 c2d4u

Repository

66Stars
25Forks
6Open issues
0Open PRs
2Releases
388Commits
21Commit identities
388 commits · Last activity 2026-07-19 · 0% stars, 30d · The default branch showed an older version (0.2-16) than CRAN on 2026-10-18
Responsiveness
How these are sampled
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

2025-07-23 · 612026-08-11 · 66
PracticesBeta

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.

Continuous integration (3)
GitHub ActionsR CMD check workflowtic

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-07-19 · The repository has a site deploy workflow

pkgdown site last built 2026-07-19

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.1.0
Imports (3)
LinkingTo (2)
Enhances (0)
none

People & History

People (4)
Author, Maintainer since 0.1-0 (2017)
Contributor
Contributor · added in 0.1-5
Copyright holder
Releases (25)

Pick two releases to compare their code metrics.

  • 0.2-17Latest
    record
    2026-05-03 · current release · diff ↗
  • 0.2-16
    record
    2026-05-03 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2-15
    record
    2026-01-12 · diff ↗ ·
    added 2 exports
    st_geom_from_geohash, st_minimum_bounding_radius
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2-14
    record
    2024-02-21 · diff ↗ ·
    added 1 export
    st_perimeter_lwgeom
  • 0.2-13
    record
    2023-05-22 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2-11
    record
    2023-01-14 · diff ↗
  • 0.2-10
    record
    2022-11-19 · diff ↗
  • 0.2-9
    record
    2022-10-01 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2-8
    record
    2021-10-06 · diff ↗
  • 0.2-7
    record
    2021-07-28 · diff ↗ ·
    added 1 export
    st_wrap_x
  • R
    R 4.1.0 released · 2021-05-18
Show 19 earlier eventsHide 19 earlier events
  • 0.2-6
    record
    2021-04-02 · diff ↗
  • 0.2-5
    record
    2020-06-13 · diff ↗
  • 0.2-4
    record
    2020-05-20 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2-3
    record
    2020-04-12 · diff ↗
  • 0.2-2
    record
    2020-04-11 · diff ↗ ·
    removed 1 export
    st_make_valid
  • 0.2-1
    record
    2020-01-31 · diff ↗ ·
    added 1 export
    lwgeom_make_valid
  • 0.2-0
    record
    2020-01-31 · diff ↗
  • 0.1-7
    record
    2019-05-06 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1-6
    record
    2019-02-18 · diff ↗ ·
    added 1 export
    st_endpoint
  • 0.1-5
    record
    2018-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
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1-4
    record
    2018-01-28 · diff ↗
  • 0.1-3
    record
    2018-01-21 · diff ↗ ·
    added 2 exports
    st_geod_covered_by, st_snap_to_grid
  • 0.1-2
    record
    2017-12-19 · diff ↗
  • 0.1-1
    record
    2017-12-17 · diff ↗ ·
    added 2 exports
    st_geod_distance, st_subdivide
  • 0.1-0
    record
    2017-11-16
  • R
    R 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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("lwgeom")
Pebesma, E., liblwgeom developers, Rundel, C., & Teucher, A. (2026). lwgeom: Bindings to Selected 'liblwgeom' Functions for Simple Features (Version 0.2-17) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for lwgeom version 0.2-17 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy