Skip to content

lwgeom

Bindings to Selected 'liblwgeom' Functions for Simple Features

v0.2-15 · Jan 12, 2026 · GPL-2

Description

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/>.

Downloads

37.6K

Last 30 days

606th

119.6K

Last 90 days

431.3K

Last year

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

CRAN Check Status

9 NOTE
5 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (9 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘lwgeom/libs/lwgeom.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘lwgeom/libs/lwgeom.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-clang

tests

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’ [2s/11s]
  Comparing ‘geod.Rout’ to ‘geod.Rout.save’ ... OK
  Running ‘perimeter.R’ [2s/11s]
  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’ [5s/15s]
  Comparing ‘testthat.Rout’ to ‘testthat.Rout.save’ ... OK
  Running ‘twkb.R’
  Comparing ‘twkb.Rout’ to ‘twkb.Rout.save’ ... OK
NOTE r-devel-linux-x86_64-fedora-gcc

tests

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’ [5s/11s]
  Comparing ‘testthat.Rout’ to ‘testthat.Rout.save’ ... OK
  Running ‘twkb.R’
  Comparing ‘twkb.Rout’ to ‘twkb.Rout.save’ ... OK
NOTE r-devel-windows-x86_64

compiled code

File 'lwgeom/libs/x64/lwgeom.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 19.7Mb
  sub-directories of 1Mb or more:
    libs  19.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 21.0Mb
  sub-directories of 1Mb or more:
    libs  20.8Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 32.4Mb
  sub-directories of 1Mb or more:
    gdal   3.0Mb
    libs  20.2Mb
    proj   9.0Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘lwgeom/libs/lwgeom.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-fedora-clang

tests

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’
  Compari
...[truncated]...
76215.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
NOTE r-devel-linux-x86_64-fedora-gcc

tests

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’
  Compari
...[truncated]...
76215.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
NOTE r-oldrel-macos-arm64

installed package size

installed size is 19.7Mb
  sub-directories of 1Mb or more:
    libs  19.6Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 21.0Mb
  sub-directories of 1Mb or more:
    libs  20.8Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 32.4Mb
  sub-directories of 1Mb or more:
    gdal   3.0Mb
    libs  20.2Mb
    proj   9.0Mb

Reverse Dependencies (71)

Dependency Network

Dependencies Reverse dependencies Rcpp units sf CCAMLRGIS IceSat2R abstr caretSDM conleyreg eks flowcluster geoflow gloBFPr gtfs2gps himach ofpetrial rcrisp sfcentral sfnetworks +56 more reverse deps lwgeom

Version History

new 0.2-15 Mar 10, 2026
updated 0.2-15 ← 0.2-14 diff Jan 11, 2026
updated 0.2-14 ← 0.2-13 diff Feb 20, 2024
updated 0.2-13 ← 0.2-11 diff May 21, 2023
updated 0.2-11 ← 0.2-10 diff Jan 13, 2023
updated 0.2-10 ← 0.2-9 diff Nov 18, 2022
updated 0.2-9 ← 0.2-8 diff Sep 30, 2022
updated 0.2-8 ← 0.2-7 diff Oct 5, 2021
updated 0.2-7 ← 0.2-6 diff Jul 27, 2021
updated 0.2-6 ← 0.2-5 diff Apr 1, 2021
updated 0.2-5 ← 0.2-4 diff Jun 12, 2020
updated 0.2-4 ← 0.2-3 diff May 19, 2020
updated 0.2-3 ← 0.2-2 diff Apr 11, 2020
updated 0.2-2 ← 0.2-1 diff Apr 10, 2020
updated 0.2-0 ← 0.1-7 diff Jan 30, 2020
updated 0.2-1 ← 0.2-0 diff Jan 30, 2020
updated 0.1-7 ← 0.1-6 diff May 5, 2019
updated 0.1-6 ← 0.1-5 diff Feb 17, 2019
updated 0.1-5 ← 0.1-4 diff Dec 6, 2018
updated 0.1-4 ← 0.1-3 diff Jan 27, 2018