Last updated on 2026-11-11 05:54:21 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.6.5 | 74.43 | 94.48 | 168.91 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.6.5 | 49.22 | 67.95 | 117.17 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.6.5 | 54.00 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 0.6.5 | 63.00 | 92.89 | 155.89 | OK | |
| r-devel-windows-x86_64 | 0.6.5 | 98.00 | 226.00 | 324.00 | OK | |
| r-patched-linux-x86_64 | 0.6.5 | OK | ||||
| r-release-linux-x86_64 | 0.6.5 | 60.53 | 103.96 | 164.49 | OK | |
| r-release-macos-arm64 | 0.6.5 | 14.00 | 25.00 | 39.00 | OK | |
| r-release-macos-x86_64 | 0.6.5 | 40.00 | 124.00 | 164.00 | OK | |
| r-release-windows-x86_64 | 0.6.5 | 106.00 | 165.00 | 271.00 | OK | |
| r-oldrel-macos-arm64 | 0.6.5 | OK | ||||
| r-oldrel-macos-x86_64 | 0.6.5 | 42.00 | 98.00 | 140.00 | OK | |
| r-oldrel-windows-x86_64 | 0.6.5 | 103.00 | 183.00 | 286.00 | OK |
Version: 0.6.5
Check: examples
Result: ERROR
Running examples in ‘motif-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: lsp_add_terra
> ### Title: Creates or adds a terra object
> ### Aliases: lsp_add_terra
>
> ### ** Examples
>
> library(stars)
Loading required package: abind
Loading required package: sf
Linking to GEOS 3.15.0, GDAL 3.13.3, PROJ 9.9.0; sf_use_s2() is TRUE
> library(terra)
Error in library(terra) : there is no package called ‘terra’
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.6.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [22s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(stars)
Loading required package: abind
Loading required package: sf
Linking to GEOS 3.15.0, GDAL 3.13.3, PROJ 9.9.0; sf_use_s2() is TRUE
> library(sf)
> library(motif)
>
> # prepare regular stars ---------------------------------------------------
> # landcover = read_stars(system.file("raster/landcover2015.tif", package = "motif"), proxy = FALSE)
> # landform = read_stars(system.file("raster/landform.tif", package = "motif"), proxy = FALSE)
> # landcoverold = read_stars(system.file("raster/landcover2001.tif", package = "motif"), proxy = FALSE)
>
> # prepare stars proxy -----------------------------------------------------
> # landform_p = read_stars(system.file("raster/landform.tif", package = "motif"), proxy = TRUE)
> # landcover_p = read_stars(system.file("raster/landcover2015.tif", package = "motif"), proxy = TRUE)
> # landcoverold_p = read_stars(system.file("raster/landcover2001.tif", package = "motif"), proxy = TRUE)
>
> # prep test extent --------------------------------------------------------
> # t_ext = st_bbox(c(xmin = -400000, xmax = -200000,
> # ymin = -600000, ymax = -400000),
> # crs = st_crs(landcover))
>
> # prepare regular stars ---------------------------------------------------
> # landcover = landcover[t_ext]
> # landform = landform[t_ext]
> # landcoverold = landcoverold[t_ext]
> landcover = read_stars(system.file("raster/landcover2015s.tif", package = "motif"), proxy = FALSE)
> landform = read_stars(system.file("raster/landforms.tif", package = "motif"), proxy = FALSE)
> landcoverold = read_stars(system.file("raster/landcover2001s.tif", package = "motif"), proxy = FALSE)
>
> # prepare stars proxy -----------------------------------------------------
> # landform_p = st_crop(landform_p, t_ext)
> # landcover_p = st_crop(landcover_p, t_ext)
> # landcoverold_p = st_crop(landcoverold_p, t_ext)
> landcover_p = read_stars(system.file("raster/landcover2015s.tif", package = "motif"), proxy = TRUE)
> landform_p = read_stars(system.file("raster/landforms.tif", package = "motif"), proxy = TRUE)
> landcoverold_p = read_stars(system.file("raster/landcover2001s.tif", package = "motif"), proxy = TRUE)
>
> # prepare poly ------------------------------------------------------------
> # ecoregions = read_sf(system.file("vector/ecoregions.gpkg", package = "motif"))
> # # st_crs(ecoregions) = st_crs(landform_p)
> # ecoregions = st_transform(ecoregions, st_crs(landform_p))
> # ecoregions = st_crop(ecoregions, t_ext)
> # ecoregions = st_cast(ecoregions, "MULTIPOLYGON")
> ecoregions = read_sf(system.file("vector/ecoregionss.gpkg", package = "motif"))
> ecoregions = st_transform(ecoregions, st_crs(landform))
>
> # prepare cont data -------------------------------------------------------
> set.seed(222)
> random_ndvi = landcover
> random_ndvi$ndvi = sample(x = 1:10, size = length(random_ndvi[[1]]), replace = TRUE)
> random_ndvi$landcover2015.tif = NULL
>
> # prepare sample landscapes -----------------------------------------------
> ext = st_bbox(c(xmin = -249797.344531127, xmax = -211162.693944285,
+ ymin = -597280.143035389, ymax = -558645.492448547),
+ crs = st_crs(landcover))
>
> landcover_ext = landcover[ext]
> landform_ext = landform[ext]
> random_ndvi_ext = random_ndvi[ext]
>
> # prepare my fun ----------------------------------------------------------
> my_fun = function(x) sum(!is.na(c(x[[1]])))
>
> test_check("motif")
Saving _problems/test-window_shift-15.R
[ FAIL 1 | WARN 5 | SKIP 0 | PASS 70 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-window_shift.R:15:1'): (code run outside of `test_that()`) ─────
Error in `lsp_add_terra(landform_cove)`: package terra required, please install it first
Backtrace:
▆
1. └─motif::lsp_add_terra(landform_cove) at test-window_shift.R:15:1
[ FAIL 1 | WARN 5 | SKIP 0 | PASS 70 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.6.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [15s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(stars)
Loading required package: abind
Loading required package: sf
Linking to GEOS 3.15.0, GDAL 3.13.3, PROJ 9.9.0; sf_use_s2() is TRUE
> library(sf)
> library(motif)
>
> # prepare regular stars ---------------------------------------------------
> # landcover = read_stars(system.file("raster/landcover2015.tif", package = "motif"), proxy = FALSE)
> # landform = read_stars(system.file("raster/landform.tif", package = "motif"), proxy = FALSE)
> # landcoverold = read_stars(system.file("raster/landcover2001.tif", package = "motif"), proxy = FALSE)
>
> # prepare stars proxy -----------------------------------------------------
> # landform_p = read_stars(system.file("raster/landform.tif", package = "motif"), proxy = TRUE)
> # landcover_p = read_stars(system.file("raster/landcover2015.tif", package = "motif"), proxy = TRUE)
> # landcoverold_p = read_stars(system.file("raster/landcover2001.tif", package = "motif"), proxy = TRUE)
>
> # prep test extent --------------------------------------------------------
> # t_ext = st_bbox(c(xmin = -400000, xmax = -200000,
> # ymin = -600000, ymax = -400000),
> # crs = st_crs(landcover))
>
> # prepare regular stars ---------------------------------------------------
> # landcover = landcover[t_ext]
> # landform = landform[t_ext]
> # landcoverold = landcoverold[t_ext]
> landcover = read_stars(system.file("raster/landcover2015s.tif", package = "motif"), proxy = FALSE)
> landform = read_stars(system.file("raster/landforms.tif", package = "motif"), proxy = FALSE)
> landcoverold = read_stars(system.file("raster/landcover2001s.tif", package = "motif"), proxy = FALSE)
>
> # prepare stars proxy -----------------------------------------------------
> # landform_p = st_crop(landform_p, t_ext)
> # landcover_p = st_crop(landcover_p, t_ext)
> # landcoverold_p = st_crop(landcoverold_p, t_ext)
> landcover_p = read_stars(system.file("raster/landcover2015s.tif", package = "motif"), proxy = TRUE)
> landform_p = read_stars(system.file("raster/landforms.tif", package = "motif"), proxy = TRUE)
> landcoverold_p = read_stars(system.file("raster/landcover2001s.tif", package = "motif"), proxy = TRUE)
>
> # prepare poly ------------------------------------------------------------
> # ecoregions = read_sf(system.file("vector/ecoregions.gpkg", package = "motif"))
> # # st_crs(ecoregions) = st_crs(landform_p)
> # ecoregions = st_transform(ecoregions, st_crs(landform_p))
> # ecoregions = st_crop(ecoregions, t_ext)
> # ecoregions = st_cast(ecoregions, "MULTIPOLYGON")
> ecoregions = read_sf(system.file("vector/ecoregionss.gpkg", package = "motif"))
> ecoregions = st_transform(ecoregions, st_crs(landform))
>
> # prepare cont data -------------------------------------------------------
> set.seed(222)
> random_ndvi = landcover
> random_ndvi$ndvi = sample(x = 1:10, size = length(random_ndvi[[1]]), replace = TRUE)
> random_ndvi$landcover2015.tif = NULL
>
> # prepare sample landscapes -----------------------------------------------
> ext = st_bbox(c(xmin = -249797.344531127, xmax = -211162.693944285,
+ ymin = -597280.143035389, ymax = -558645.492448547),
+ crs = st_crs(landcover))
>
> landcover_ext = landcover[ext]
> landform_ext = landform[ext]
> random_ndvi_ext = random_ndvi[ext]
>
> # prepare my fun ----------------------------------------------------------
> my_fun = function(x) sum(!is.na(c(x[[1]])))
>
> test_check("motif")
Saving _problems/test-window_shift-15.R
[ FAIL 1 | WARN 5 | SKIP 0 | PASS 70 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-window_shift.R:15:1'): (code run outside of `test_that()`) ─────
Error in `lsp_add_terra(landform_cove)`: package terra required, please install it first
Backtrace:
▆
1. └─motif::lsp_add_terra(landform_cove) at test-window_shift.R:15:1
[ FAIL 1 | WARN 5 | SKIP 0 | PASS 70 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc