diff --git a/DESCRIPTION b/DESCRIPTION index 8ee10d2..a0816ca 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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", @@ -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, diff --git a/NEWS.md b/NEWS.md index 9c6d25d..c5f6461 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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) ========================= diff --git a/codemeta.json b/codemeta.json index fe537e8..523e514 100644 --- a/codemeta.json +++ b/codemeta.json @@ -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) .", "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", @@ -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" } diff --git a/man/geom_cnt.Rd b/man/geom_cnt.Rd index 81a14ce..b39194e 100644 --- a/man/geom_cnt.Rd +++ b/man/geom_cnt.Rd @@ -100,7 +100,7 @@ in projected coordinates. } \examples{ -\dontshow{if (requireNamespace("geomtextpath", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (requireNamespace("geomtextpath", quietly = TRUE)) withAutoprint(\{ # examplesIf} library(sf) library(ggplot2) diff --git a/man/geom_cnt_text.Rd b/man/geom_cnt_text.Rd index 7aceb5d..85e22e9 100644 --- a/man/geom_cnt_text.Rd +++ b/man/geom_cnt_text.Rd @@ -168,7 +168,7 @@ understands: } } \examples{ -\dontshow{if (requireNamespace("geomtextpath", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (requireNamespace("geomtextpath", quietly = TRUE)) withAutoprint(\{ # examplesIf} library(sf) library(ggplot2) diff --git a/tests/testthat/test-cnt_path.R b/tests/testthat/test-cnt_path.R index 69c1927..539e5a8 100644 --- a/tests/testthat/test-cnt_path.R +++ b/tests/testthat/test-cnt_path.R @@ -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, ]))