Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: centerline
Title: Extract Centerline from Closed Polygons
Version: 0.2.4
Version: 0.2.5
Authors@R:
c(
person(given = "Anatoly",
Expand Down Expand Up @@ -35,7 +35,7 @@ Suggests:
Config/testthat/edition: 3
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
RoxygenNote: 7.3.3
Language: en-US
Config/Needs/website:
mapgl,
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
centerline 0.2.5 (2025-03-12)
=========================

### UPDATES

* Fix CRAN Check fails on Win Old rel

centerline 0.2.4 (2025-09-09)
=========================

Expand Down
12 changes: 8 additions & 4 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"identifier": "centerline",
"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>.",
"name": "centerline: Extract Centerline from Closed Polygons",
"relatedLink": "https://centerline.anatolii.nz",
"relatedLink": ["https://centerline.anatolii.nz", "https://CRAN.R-project.org/package=centerline"],
"codeRepository": "https://github.com/atsyplenkov/centerline",
"issueTracker": "https://github.com/atsyplenkov/centerline/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.2.4",
"version": "0.2.5",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.5.1 Patched (2025-06-20 r88332 ucrt)",
"runtimePlatform": "R version 4.5.1 Patched (2025-08-11 r88661)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -214,5 +214,9 @@
},
"SystemRequirements": null
},
"fileSize": "2954.932KB"
"fileSize": "2947.004KB",
"releaseNotes": "https://github.com/atsyplenkov/centerline/blob/main/NEWS.md",
"readme": "https://github.com/atsyplenkov/centerline/blob/master/README.md",
"contIntegration": ["https://github.com/atsyplenkov/centerline/actions/workflows/R-CMD-check.yaml", "https://github.com/atsyplenkov/centerline/actions/workflows/CRAN-checks.yaml", "https://app.codecov.io/gh/atsyplenkov/centerline"],
"developmentStatus": "https://www.repostatus.org/#active"
}
2 changes: 1 addition & 1 deletion man/geom_cnt.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/geom_cnt_text.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions tests/testthat/test-cnt_path.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,14 @@ test_that(
# Class, CRS and attributes are inherited
expect_true(inherits(result, c("SpatVector")))
expect_true(inherits(result_one, c("SpatVector")))
expect_equal(terra::crs(result), terra::crs(polygon))
expect_equal(terra::crs(result_one), terra::crs(polygon))
expect_equal(
gsub("_", " ", terra::crs(result)),
gsub("_", " ", terra::crs(polygon))
)
expect_equal(
gsub("_", " ", terra::crs(result_one)),
gsub("_", " ", terra::crs(polygon))
)
expect_equal(as.data.frame(result), as.data.frame(start_point))
expect_equal(as.data.frame(result_one), as.data.frame(start_point[1, ]))

Expand Down
Loading