Skip to content

centerline

Extract Centerline from Closed Polygons

v0.2.5 · Dec 22, 2025 · MIT + file LICENSE

Description

Generates skeletons of closed 2D polygons using Voronoi diagrams. It provides methods for 'sf', 'terra', and 'geos' objects to compute polygon centerlines based on the generated skeletons. Voronoi, G. (1908) <doi:10.1515/crll.1908.134.198>.

Downloads

CRAN

622

Last 30 days

5231st

1.8K

Last 90 days

6.6K

Last year

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

r2u CRAN

21

Last 30 days

69

Last 90 days

375

Last year

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

autoCRAN

8

Last 7 days

21

Last 30 days

4

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

1 NOTE
12 OK
Show all 13 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-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
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 details (1 non-OK)
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.

Check History

NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 18, 2026
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
ERROR 11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 16, 2026
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘testthat.R’ [103s/286s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additiona
...[truncated]...
 load_package, parallel = parallel, shuffle = shuffle)
  47: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  48: test_check("centerline")
  An irrecoverable exception occurred. R is aborting now ...
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
ERROR 11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘sfnetworks’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 5, 2026
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
ERROR 11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 28, 2026
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [27s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test
...[truncated]...
the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(centerline)
  > 
  > test_check("centerline")
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 24, 2026
NOTE r-release-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 08:16:27.782 R[53542:379205] XType: Using static font registry.
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 20, 2026
NOTE r-release-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [26s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test
...[truncated]...
the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(centerline)
  > 
  > test_check("centerline")
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 08:16:27.782 R[53542:379205] XType: Using static font registry.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 7, 2026
NOTE r-release-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 08:16:27.782 R[53542:379205] XType: Using static font registry.
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 31, 2026
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [26s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test
...[truncated]...
the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(centerline)
  > 
  > test_check("centerline")
NOTE r-release-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 08:16:27.782 R[53542:379205] XType: Using static font registry.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-release-macos-arm64

dependencies in R code

2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
NOTE r-oldrel-macos-arm64

dependencies in R code

2025-12-23 08:16:27.782 R[53542:379205] XType: Using static font registry.

Code

Code metrics have not been computed for this package yet.

Dependency Network

Dependencies Reverse dependencies wk sf geos sfnetworks (>= 0.6) checkmate centerline

Version History

5 tracked
new 0.2.5 Mar 10, 2026
updated 0.2.5 ← 0.2.4 diff Dec 21, 2025
updated 0.2.4 ← 0.2.2 diff Sep 8, 2025
updated 0.2.2 ← 0.1 diff Mar 15, 2025
new 0.1 Sep 25, 2024