Last updated on 2025-12-04 09:50:18 CET.
| Package | ERROR | OK |
|---|---|---|
| centerline | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.2.4
Check: tests
Result: ERROR
Running 'testthat.R' [144s]
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 configuration?
> # Learn more about 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")
Saving _problems/test-cnt_path-49.R
Saving _problems/test-cnt_path-50.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 270 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-cnt_path.R:49:5'): cnt_path handles 'terra' geometries ───────
Expected `terra::crs(result)` to equal `terra::crs(polygon)`.
Differences:
lines(actual)[1:6] vs lines(expected)[1:6]
"PROJCRS[\"NZGD2000 / New Zealand Transverse Mercator 2000\","
" BASEGEOGCRS[\"NZGD2000\","
- " DATUM[\"New Zealand Geodetic Datum 2000\","
+ " DATUM[\"New_Zealand_Geodetic_Datum_2000\","
" ELLIPSOID[\"GRS 1980\",6378137,298.257222101,"
" LENGTHUNIT[\"metre\",1]]],"
" PRIMEM[\"Greenwich\",0,"
── Failure ('test-cnt_path.R:50:5'): cnt_path handles 'terra' geometries ───────
Expected `terra::crs(result_one)` to equal `terra::crs(polygon)`.
Differences:
lines(actual)[1:6] vs lines(expected)[1:6]
"PROJCRS[\"NZGD2000 / New Zealand Transverse Mercator 2000\","
" BASEGEOGCRS[\"NZGD2000\","
- " DATUM[\"New Zealand Geodetic Datum 2000\","
+ " DATUM[\"New_Zealand_Geodetic_Datum_2000\","
" ELLIPSOID[\"GRS 1980\",6378137,298.257222101,"
" LENGTHUNIT[\"metre\",1]]],"
" PRIMEM[\"Greenwich\",0,"
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 270 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.