centerline
Extract Centerline from Closed Polygons
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
622
Last 30 days
5231st
1.8K
Last 90 days
6.6K
Last year
Trend: -1.1% (30d vs prior 30d)
21
Last 30 days
69
Last 90 days
375
Last year
Trend: -4.6% (30d vs prior 30d)
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
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)
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
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
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 ...
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
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
package dependencies
Package required but not available: ‘sfnetworks’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
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
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
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")
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
dependencies in R code
2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
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
dependencies in R code
2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
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")
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
dependencies in R code
2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
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
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")
dependencies in R code
2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
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
dependencies in R code
2025-12-23 03:34:32.370 R[1391:746976] XType: Using static font registry.
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.