Last updated on 2024-12-23 12:49:50 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
belg | 1 | 12 | |
bespatial | 1 | 12 | |
colorblindcheck | 13 | ||
comat | 13 | ||
motif | 1 | 4 | 8 |
pollen | 13 | ||
raceland | 1 | 2 | 10 |
rcartocolor | 3 | 10 | |
regional | 1 | 12 | |
rgeopat2 | 13 | ||
sabre | 1 | 12 | |
spatialising | 1 | 12 | |
spData | 8 | 5 | |
supercells | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.5.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(belg)
>
> test_check("belg")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-raster-stars.R:3:1'): (code run outside of `test_that()`) ──────
<packageNotFoundError/error/condition>
Error in `library(raster)`: there is no package called 'raster'
Backtrace:
▆
1. └─base::library(raster) at test-raster-stars.R:3:1
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.5.3
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘belg1.Rmd’ using rmarkdown
Quitting from lines 13-32 [setup] (belg1.Rmd)
Error: processing vignette 'belg1.Rmd' failed with diagnostics:
there is no package called 'rasterVis'
--- failed re-building ‘belg1.Rmd’
--- re-building ‘belg2.Rmd’ using rmarkdown
--- finished re-building ‘belg2.Rmd’
SUMMARY: processing the following file failed:
‘belg1.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.2
Check: package dependencies
Result: ERROR
Packages required but not available: 'terra', 'landscapemetrics'
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, NOTE: 4, OK: 8
Version: 0.6.4
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.13.0, GDAL 3.9.3, PROJ 9.5.1; sf_use_s2() is TRUE
> library(terra)
Error in library(terra) : there is no package called ‘terra’
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.6.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [14s/19s]
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.13.0, GDAL 3.9.3, PROJ 9.5.1; 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")
[ FAIL 1 | WARN 5 | SKIP 0 | PASS 69 ]
══ 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 69 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.6.4
Check: installed package size
Result: NOTE
installed size is 6.2Mb
sub-directories of 1Mb or more:
libs 3.0Mb
raster 2.2Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, NOTE: 2, OK: 10
Version: 1.2.1
Check: package dependencies
Result: ERROR
Package required but not available: ‘terra’
Package suggested but not available for checking: ‘raster’
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.2.1
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘comat’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Current CRAN status: NOTE: 3, OK: 10
Version: 2.1.1
Check: Rd cross-references
Result: NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
carto_scale.Rd: discrete_scale, continuous_scale
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64
Current CRAN status: ERROR: 1, OK: 12
Version: 0.4.4
Check: package dependencies
Result: ERROR
Package required but not available: ‘terra’
Package suggested but not available for checking: ‘supercells’
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 0.4.3
Check: package dependencies
Result: ERROR
Package required but not available: ‘raster’
Package which this enhances but not available for checking: ‘terra’
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: ERROR: 1, OK: 12
Version: 0.6.0
Check: package dependencies
Result: ERROR
Package required but not available: ‘terra’
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: NOTE: 8, OK: 5
Version: 2.3.3
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘spDataLarge’
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 2.3.3
Check: installed package size
Result: NOTE
installed size is 8.4Mb
sub-directories of 1Mb or more:
data 2.6Mb
shapes 5.1Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.0
Check: package dependencies
Result: ERROR
Package required but not available: ‘terra’
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc