Last updated on 2025-12-04 09:50:19 CET.
| Package | ERROR | OK |
|---|---|---|
| gpkg | 1 | 12 |
| rgeedim | 13 | |
| rgeomorphon | 1 | 12 |
| whitebox | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.0.12
Check: tests
Result: ERROR
Running 'tinytest.R' [13s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
>
> if (requireNamespace("tinytest", quietly = TRUE)) {
+ tinytest::test_package("gpkg")
+ }
test_gpkg.R................... 0 tests
test_gpkg.R................... 0 tests
test_gpkg.R................... 0 tests
test_gpkg.R................... 0 tests
test_gpkg.R................... 0 tests
test_gpkg.R................... 0 tests
test_gpkg.R................... 0 tests
test_gpkg.R................... 1 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 2 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 2 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 2 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 3 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 3 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 3 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 4 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 5 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 5 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 6 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 6 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 7 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 8 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 9 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 9 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 9 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 10 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 11 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 11 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 11 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 11 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 11 tests <1b>[0;32mOK<1b>[0m
test_gpkg.R................... 12 tests <1b>[0;31m1 fails<1b>[0m
test_gpkg.R................... 12 tests <1b>[0;31m1 fails<1b>[0m
test_gpkg.R................... 13 tests <1b>[0;31m1 fails<1b>[0m
test_gpkg.R................... 13 tests <1b>[0;31m1 fails<1b>[0m Error: [vect] Cannot open this file as a SpatVector: D:\temp\2025_12_03_01_50_00_178\RtmpmAyprU\file4050261a4cdb.gpkg
In addition: Warning messages:
1: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1)
2: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
3: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1)
4: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
5: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1)
6: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
7: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1)
8: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
9: PROJ: proj_create_from_name: Cannot find proj.db (GDAL error 1)
10: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
Execution halted
Flavor: r-oldrel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 0.3.0
Check: examples
Result: ERROR
Running examples in 'rgeomorphon-Ex.R' failed
The error most likely occurred in:
> ### Name: forms_matrix
> ### Title: Create a 'forms_matrix' object
> ### Aliases: forms_matrix get_forms_grass_enum
>
> ### ** Examples
>
> ## Don't show:
> if (requireNamespace("terra")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+
+ library(terra)
+ library(rgeomorphon)
+
+ # default values
+ x <- forms_matrix_get(num_forms = 10, levels = get_forms_grass_enum())
+
+ # inspect
+ x
+
+ # create a 9-class system where PEAK is combined with RIDGE
+ x[x == 2] <- 3
+ a <- get_forms_grass_enum()
+ a <- a[!names(a) == "G_PK"]
+
+ # create a forms matrix with custom levels
+ fm <- forms_matrix(x, a)
+
+ # run geomorphon algorithm
+ SEARCH = 7 # outer search radius (cells)
+ SKIP = 1 # inner skip radius (cells)
+ DIST = 0 # flatness distance (cells)
+ FLAT = 1 # flat angle threshold
+ MODE = "anglev1" # comparison mode
+
+ ## classic volcano
+ data("volcano", package = "datasets")
+ dem <- terra::rast(volcano)
+ terra::crs(dem) <- terra::crs("EPSG:2193")
+ terra::ext(dem) <- c(1756968, 1757578, 5917000, 5917870)
+ names(dem) <- "elevation"
+
+ # include original forms, positive, and negative output
+ res <- geomorphons(
+ dem,
+ search = SEARCH,
+ skip = SKIP,
+ dist = DIST,
+ flat = FLAT,
+ comparison_mode = MODE,
+ forms = TRUE,
+ positive = TRUE,
+ negative = TRUE
+ )
+
+ # apply custom classification to positive and negative
+ res2 <- geomorphon_theme(
+ forms_matrix_apply(
+ x = res[[c("positive", "negative")]],
+ rcl = fm
+ )
+ )
+
+ # compare with default
+ terra::plot(terra::rast(c(`10 form`=res$forms, `9 form`=res2)))
+ ## Don't show:
+ }) # examplesIf
Loading required namespace: terra
> library(terra)
terra 1.8.86
> library(rgeomorphon)
> x <- forms_matrix_get(num_forms = 10, levels = get_forms_grass_enum())
> x
<forms_matrix> object
pos=0 pos=1 pos=2 pos=3 pos=4 pos=5 pos=6 pos=7 pos=8
neg=0 G_FL G_FL G_FL G_FS G_FS G_VL G_VL G_VL G_PT
neg=1 G_FL G_FL G_FS G_FS G_FS G_VL G_VL G_VL G_NONE
neg=2 G_FL G_SH G_SL G_SL G_HL G_HL G_VL G_NONE G_NONE
neg=3 G_SH G_SH G_SL G_SL G_SL G_HL G_NONE G_NONE G_NONE
neg=4 G_SH G_SH G_SP G_SL G_SL G_NONE G_NONE G_NONE G_NONE
neg=5 G_RI G_RI G_SP G_SP G_NONE G_NONE G_NONE G_NONE G_NONE
neg=6 G_RI G_RI G_RI G_NONE G_NONE G_NONE G_NONE G_NONE G_NONE
neg=7 G_RI G_RI G_NONE G_NONE G_NONE G_NONE G_NONE G_NONE G_NONE
neg=8 G_PK G_NONE G_NONE G_NONE G_NONE G_NONE G_NONE G_NONE G_NONE
> x[x == 2] <- 3
> a <- get_forms_grass_enum()
> a <- a[!names(a) == "G_PK"]
> fm <- forms_matrix(x, a)
> SEARCH = 7
> SKIP = 1
> DIST = 0
> FLAT = 1
> MODE = "anglev1"
> data("volcano", package = "datasets")
> dem <- terra::rast(volcano)
> terra::crs(dem) <- terra::crs("EPSG:2193")
Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
Error: [rast] empty srs
Execution halted
Flavor: r-oldrel-windows-x86_64
Version: 0.3.0
Check: tests
Result: ERROR
Running 'tinytest.R' [6s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("rgeomorphon")
+ }
test_rgeomorphon.R............ 0 tests
test_rgeomorphon.R............ 0 tests
test_rgeomorphon.R............ 0 tests
test_rgeomorphon.R............ 0 tests
test_rgeomorphon.R............ 0 tests
test_rgeomorphon.R............ 0 tests
test_rgeomorphon.R............ 0 tests
test_rgeomorphon.R............ 0 tests
test_rgeomorphon.R............ 0 tests
test_rgeomorphon.R............ 1 tests <1b>[0;32mOK<1b>[0m Error: [rast] empty srs
In addition: Warning message:
PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
Execution halted
Flavor: r-oldrel-windows-x86_64
Current CRAN status: ERROR: 1, OK: 12
Version: 2.4.3
Check: tests
Result: ERROR
Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
>
> library(whitebox)
> # whitebox:::wbt_rust_backtrace('1')
>
> if (requireNamespace("testthat")) {
+ library(testthat)
+ test_check("whitebox")
+ }
Loading required namespace: testthat
Saving _problems/test-wbt_source-91.R
[ FAIL 1 | WARN 12 | SKIP 41 | PASS 34 ]
══ Skipped tests (41) ══════════════════════════════════════════════════════════
• On CRAN (41): 'test-toolchains.R:23:3', 'test-wbt.R:13:3', 'test-wbt.R:71:3',
'test-wbt.R:120:3', 'test-wbt.R:149:3', 'test-wbt.R:196:3',
'test-wbt_absolute_value.R:5:3', 'test-wbt_arc_cos.R:5:3',
'test-wbt_arc_sin.R:5:3', 'test-wbt_arc_tan.R:5:3', 'test-wbt_arcosh.R:5:3',
'test-wbt_arsinh.R:5:3', 'test-wbt_artanh.R:5:3', 'test-wbt_ceil.R:5:3',
'test-wbt_cos.R:5:3', 'test-wbt_cosh.R:5:3',
'test-wbt_cumulative_distribution.R:5:3', 'test-wbt_decrement.R:5:3',
'test-wbt_exp.R:5:3', 'test-wbt_exp2.R:5:3', 'test-wbt_floor.R:5:3',
'test-wbt_increment.R:5:3', 'test-wbt_is_no_data.R:5:3', 'test-wbt_ln.R:5:3',
'test-wbt_log10.R:5:3', 'test-wbt_log2.R:5:3', 'test-wbt_negate.R:5:3',
'test-wbt_quantiles.R:5:3', 'test-wbt_reciprocal.R:5:3',
'test-wbt_round.R:5:3', 'test-wbt_sin.R:5:3', 'test-wbt_sinh.R:5:3',
'test-wbt_square.R:5:3', 'test-wbt_square_root.R:5:3', 'test-wbt_tan.R:5:3',
'test-wbt_tanh.R:5:3', 'test-wbt_to_degrees.R:5:3',
'test-wbt_to_radians.R:5:3', 'test-wbt_truncate.R:5:3',
'test-wbt_z_scores.R:5:3', 'test-whitebox-package.R:17:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-wbt_source.R:91:5'): wbt_source (vector) works ─────────────────
Error: [vect] Query failed
Backtrace:
▆
1. └─whitebox::wbt_source(vf2) at test-wbt_source.R:91:5
2. ├─terra::query(x)
3. └─terra::query(x)
4. └─terra (local) .local(x, ...)
5. ├─terra::vect(...)
6. └─terra::vect(...)
7. └─terra (local) .local(x, ...)
8. └─terra:::messages(p, "vect")
9. └─terra:::error(f, x@pntr$getError())
[ FAIL 1 | WARN 12 | SKIP 41 | PASS 34 ]
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.