Last updated on 2025-12-04 07:51:13 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.4.4 | 1.82 | 42.27 | 44.09 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.4.4 | 1.26 | 30.68 | 31.94 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.4.4 | 71.31 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 0.4.4 | 63.06 | OK | |||
| r-devel-windows-x86_64 | 0.4.4 | 3.00 | 55.00 | 58.00 | OK | |
| r-patched-linux-x86_64 | 0.4.4 | 1.94 | 38.51 | 40.45 | OK | |
| r-release-linux-x86_64 | 0.4.4 | 1.90 | 39.67 | 41.57 | OK | |
| r-release-macos-arm64 | 0.4.4 | OK | ||||
| r-release-macos-x86_64 | 0.4.4 | 2.00 | 37.00 | 39.00 | OK | |
| r-release-windows-x86_64 | 0.4.4 | 3.00 | 55.00 | 58.00 | OK | |
| r-oldrel-macos-arm64 | 0.4.4 | OK | ||||
| r-oldrel-macos-x86_64 | 0.4.4 | 2.00 | 30.00 | 32.00 | OK | |
| r-oldrel-windows-x86_64 | 0.4.4 | 4.00 | 71.00 | 75.00 | ERROR |
Version: 0.4.4
Check: tests
Result: ERROR
Running 'testthat.R' [15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(regional)
> library(terra)
terra 1.8.86
Attaching package: 'terra'
The following objects are masked from 'package:testthat':
compare, describe
> if (requireNamespace("sf", quietly = TRUE)) {
+ library(sf)
+ volcano = rast(system.file("raster/volcano.tif", package = "regional"))
+ vr = read_sf(system.file("regions/volcano_regions.gpkg", package = "regional"))
+
+ ortho = rast(system.file("raster/ortho.tif", package = "supercells"))
+ vo = supercells::supercells(ortho, k = 1000, compactness = 1)
+
+ test_check("regional")
+ }
Linking to GEOS 3.13.0, GDAL 3.10.1, PROJ 9.5.1; sf_use_s2() is TRUE
Saving _problems/test-reg_distinction-5.R
Metric: 'euclidean' with unit: 'log'; comparing: 0 vectors
Saving _problems/test-reg_inhomogeneity-2.R
Saving _problems/test-reg_isolation-5.R
[ FAIL 3 | WARN 27 | SKIP 0 | PASS 2 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-reg_distinction.R:5:3'): reg_distinction works ───────────────
Expected `mean(reg_dis)` to equal 1.95.
Differences:
`actual`: NaN
`expected`: 1.9
── Error ('test-reg_inhomogeneity.R:2:1'): (code run outside of `test_that()`) ──
Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent
Backtrace:
▆
1. └─regional::reg_inhomogeneity(vr[1:2, ], volcano) at test-reg_inhomogeneity.R:2:1
2. ├─base::mean(...)
3. └─regional:::universal_distance(vals_i, dist_fun = dist_fun, ...)
4. └─philentropy::distance(...)
5. └─base::`colnames<-`(`*tmp*`, value = paste0("v", seq_len(ncols)))
── Failure ('test-reg_isolation.R:5:3'): reg_isolation works ───────────────────
Expected `mean(reg_iso)` to equal 1.95.
Differences:
`actual`: NaN
`expected`: 1.9
[ FAIL 3 | WARN 27 | SKIP 0 | PASS 2 ]
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.