Skip to content

centerline

0.2.5

Extract Centerline from Closed Polygons

0packages depend
6.7Kdownloads / year
88.3%test coverage
12/13checks pass

Overview

About
Maintained by Anatoly TsyplenkovFirst published 2024-09-264 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-oldrel-macos-arm64
Slowest check: 5.1 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.91
88.3%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • NOTE2026-06-18
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-16
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-06-09
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-05-05
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 6 earlier snapshots
  • ERROR2026-04-28
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-24
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-20
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-07
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-31
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 469 wordsVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
80%
References docs
20%

Downloads

6.7K
CRAN downloads in the past year
Rank #5,619 · ~18/day · ~561/mo
Daily download trend is not available in this view yet.
29830 days
1.4K90 days
6.7K1 year
Compare downloads with other packages →
Also on407 r2u20 autocran

Repository

Repository
38Stars
1Forks
4Open issues
0Open PRs
4Releases
175Commits
3Contributors
175 commits · Last activity 2026-07-31

Commits over time

2026-07-19 · 1742026-08-02 · 175

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/atsyplenkov/centerline on 2026-08-16.

Continuous integration (1)
GitHub Actions
Docs source (1)
README.Rmd
Research and citation (1)
codemeta.json
Lint, format, editor (1)
Air
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.5Latest
    2025-12-22 · current release · diff ↗
  • 0.2.4
    2025-09-09 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.2
    2025-03-16 · diff ↗
  • 0.1
    2024-09-26
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-09-26
Total releases
4 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
2.1 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("centerline")
Tsyplenkov, A. (2025). centerline: Extract Centerline from Closed Polygons (Version 0.2.5) [Computer software]. https://doi.org/10.32614/CRAN.package.centerline

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 centerline version 0.2.5 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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