- using R Under development (unstable) (2026-03-28 r89738)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.8 (3+b1)
Debian flang version 21.1.8 (3+b1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-03-31 02:40:34 UTC
- checking for file ‘magclass/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘magclass’ version ‘6.13.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/4s] OK
- checking package namespace information ... OK
- checking package dependencies ... INFO
Packages suggested but not available for checking: 'lpjmlkit', 'quitte'
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘magclass’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [22s/28s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [1s/2s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [9s/11s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
as.SpatRaster 6.878 0.109 7.906
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [33s/40s] ERROR
Running ‘testthat.R’ [32s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(magclass)
>
> test_check("magclass")
Saving _problems/test-readwritemagpie-93.R
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 744 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• {quitte} is not installed (2): 'test-as.magpie.R:22:3',
'test-as.magpie.R:63:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-readwritemagpie.R:93:3'): handling of spatial data works ───────
Error in `.dimextract(x, i, 1, pmatch = pmatch, invert = invert)`: subscript out of bounds ("-67p25.83p25", "-69p75.82p75", "-69p25.82p75", "-68p75.82p75", "-68p25.82p75", "-67p75.82p75", "-67p25.82p75", "-66p75.82p75", "-71p25.82p25", "-70p75.82p25", "-70p25.82p25", "-69p75.82p25", "-69p25.82p25", "-68p75.82p25", "-68p25.82p25", "-67p75.82p25", "-67p25.82p25", "-66p75.82p25", "-66p25.82p25", "-65p75.82p25", "-36p25.82p25", "-72p25.81p75", "-71p75.81p75", "-71p25.81p75", "-70p75.81p75", "-70p25.81p75", "-69p75.81p75", "-69p25.81p75", "-68p75.81p75", "-68p25.81p75", "-67p75.81p75", "-67p25.81p75", "-66p75.81p75", "-37p25.81p75", "-36p75.81p75", "-36p25.81p75", "-73p25.81p25", "-72p75.81p25", "-72p25.81p25", "-71p75.81p25", "-71p25.81p25", "-70p75.81p25", "-69p75.81p25", "-69p25.81p25", "-68p75.81p25", "-68p25.81p25", "-67p75.81p25", "-73p25.80p75", "-72p75.80p75", "-72p25.80p75", "-71p75.80p75", "-71p25.80p75", "-70p25.80p75", "-69p75.80p75", "-69p25.80p75", "-73p75.80p25", "-73p25.80p25", "-72p75.80p25", "-72p25.80p25", "-71p75.80p25", "-71p25.80p25", "-70p75.80p25", "-70p25.80p25", "-69p75.80p25", "-69p25.80p25", "-68p75.80p25", "-71p25.79p75", "-70p75.79p75", "-70p25.79p75", "-69p75.79p75", "-69p25.79p75", "-68p75.79p75", "-60p75.79p75", "-73p75.79p25", "-73p25.79p25", "-72p75.79p25", "-72p25.79p25", "-71p75.79p25", "-71p25.79p25", "-70p75.79p25", "-70p25.79p25", "-69p75.79p25", "-69p25.79p25", "-60p75.79p25", "-60p25.79p25", "-59p75.79p25", "-59p25.79p25", "-58p75.79p25", "-58p25.79p25", "-74p75.78p75", "-74p25.78p75", "-73p75.78p75", "-73p25.78p75", "-72p75.78p75", "-72p25.78p75", "-71p75.78p75", "-71p25.78p75", "-59p75.78p75", "-58p25.78p75", "-74p75.78p25", "-74p25.78p25", "-71p75.78p25", "-71p25.78p25", "-75p25.77p75", "-74p75.77p75", "-74p25.77p75", "-72p75.77p75", "-72p25.77p75", "-71p75.77p75", "-68p75.77p75", "-75p25.77p25", "-74p75.77p25", "-74p25.77p25", "-72p75.77p25", "-72p25.77p25", "-71p75.77p25", "-71p25.77p25", "-68p75.77p25", "-68p25.77p25", "-67p75.77p25", "-67p25.77p25", "-75p75.76p75", "-75p25.76p75", "-74p75.76p75", "-74p25.76p75", "-72p75.76p75", "-72p25.76p75", "-71p75.76p75", "-71p25.76p75", "-70p75.76p75", "-68p75.76p75", "-68p25.76p75", "-67p75.76p75", "-67p25.76p75", "69p25.76p75", "69p75.76p75", "70p25.76p75", "-75p25.76p25", "-74p75.76p25", "-74p25.76p25", "-72p75.76p25", "-72p25.76p25", "-71p75.76p25", "-71p25.76p25", "-70p75.76p25", "-70p25.76p25", "-69p75.76p25", "-69p25.76p25", "-68p75.76p25", "-68p25.76p25", "-67p75.76p25", "-67p25.76p25", "69p25.76p25", "-75p25.75p75", "-74p75.75p75", "-74p25.75p75", "-72p75.75p75", "-72p25.75p75", "-71p75.75p75", "-71p25.75p75", "-70p75.75p75", "-70p25.75p75", "-69p75.75p75", "-69p25.75p75", "-68p75.75p75", "-68p25.75p75", "-67p75.75p75", "-67p25.75p75", "-66p75.75p75", "-66p25.75p75", "-74p75.75p25", "-74p25.75p25", "-73p75.75p25", "-73p25.75p25", "-72p75.75p25", "-72p25.75p25", "-71p75.75p25", "-71p25.75p25", "-70p75.75p25", "-70p25.75p25", "-69p75.75p25", "-69p25.75p25", "-68p75.75p25", "-68p25.75p25", "-67p75.75p25", "-67p25.75p25", "-66p75.75p25", "-66p25.75p25", "-65p75.75p25", "-74p25.74p75", "-73p75.74p75", "-73p25.74p75", "-72p75.74p75", "-72p25.74p75", "-71p75.74p75", "-71p25.74p75", "-70p75.74p75", "-70p25.74p75", "-69p75.74p75", "-69p25.74p75", "-68p75.74p75", "-68p25.74p75", "-67p75.74p75", "-67p25.74p75", "-66p75.74p75", "-66p25.74p75", "-65p75.74p75", "167p75.74p75", "-75p25.74p25", "-74p75.74p25", "-74p25.74p25", "-72p75.74p25", "-72p25.74p25", "-71p75.74p25", "-71p25.74p25", "-70p75.74p25", "-70p25.74p25", "-69p75.74p25", "-69p25.74p25", "-68p75.74p25", "-68p25.74p25", "-67p75.74p25", "-67p25.74p25", "167p75.74p25", "168p25.74p25", "-74p75.73p75", "-74p25.73p75", "-72p75.73p75", "-72p25.73p75", "-71p75.73p75", "-71p25.73p75", "-70p75.73p75", "-70p25.73p75", "-69p75.73p75", "-69p25.73p75", "-68p75.73p75", "-68p25.73p75", "-67p75.73p75", "166p75.73p75", "167p25.73p75", "167p75.73p75", "168p25.73p75", "168p75.73p75", "169p25.73p75", "169p75.73p75", "-74p75.73p25", "-74p25.73p25", "-73p75.73p25", "-73p25.73p25", "-72p75.73p25", "-72p25.73p25", "-71p75.73p25", "-71p25.73p25", "-70p75.73p25", "-70p25.73p25", "-69p75.73p25", "-69p25.73p25", "-68p75.73p25", "-68p25.73p25", "-67p75.73p25", "166p75.73p25", "167p25.73p25", "167p75.73p25", "168p25.73p25", "168p75.73p25", "169p25.73p25", "169p75.73p25", "170p25.73p25", "-74p25.72p75", "-73p75.72p75", "-73p25.72p75", "-72p75.72p75", "-72p25.72p75", "-71p75.72p75", "-71p25.72p75", "-70p75.72p75", "-70p25.72p75", "-69p75.72p75", "-69p25.72p75", "-68p75.72p75", "-68p25.72p75", "-67p75.72p75", "-67p25.72p75", "-66p75.72p75", "167p25.72p75", "167p75.72p75", "168p25.72p75", "168p75.72p75", "169p25.72p75", "169p75.72p75", "170p25.72p75", "170p75.72p75", "-74p75.72p25", "-74p25.72p25", "-73p75.72p25", "-73p25.72p25", "-72p75.72p25", "-72p25.72p25", "-71p75.72p25", "-71p25.72p25", "-70p75.72p25", "-70p25.72p25", "-69p75.72p25", "-69p25.72p25", "-68p75.72p25", "-68p25.72p25", "-67p75.72p25", "-67p25.72p25", "-66p75.72p25", "-66p25.72p25", "-65p75.72p25", "167p75.72p25", "168p25.72p25", "168p75.72p25", "169p25.72p25", "169p75.72p25", "170p25.72p25", "170p75.72p25", "-73p75.71p75", "-73p25.71p75", "-72p75.71p75", "-72p25.71p75", "-71p75.71p75", "-71p25.71p75", "-70p75.71p75", "-70p25.71p75", "-69p75.71p75", "-69p25.71p75", "-68p75.71p75", "-68p25.71p75", "-67p75.71p75", "-67p25.71p75", "-66p75.71p75", "-66p25.71p75", "-65p75.71p75", "-65p25.71p75", "168p25.71p75", "168p75.71p75", "169p25.71p75", "169p75.71p75", "170p25.71p75", "170p75.71p75", "171p25.71p75", "-70p75.71p25", "-70p25.71p25", "-69p75.71p25", "-69p25.71p25", "-68p75.71p25", "-68p25.71p25", "-67p75.71p25", "-67p25.71p25", "-66p75.71p25", "-66p25.71p25", "-65p75.71p25", "-65p25.71p25", "169p25.71p25", "169p75.71p25", "170p25.71p25", "170p75.71p25", "171p25.71p25", "171p75.71p25", "172p25.71p25", "172p75.71p25", "-74p25.70p75", "-73p75.70p75", "-71p75.70p75", "-71p25.70p75", "-70p75.70p75", "-70p25.70p75", "-68p75.70p75", "-68p25.70p75", "-67p75.70p75", "-67p25.70p75", "-66p75.70p75", "-66p25.70p75", "-65p75.70p75", "-65p25.70p75", "-64p75.70p75", "170p25.70p75", "170p75.70p75", "171p25.70p75", "171p75.70p75", "172p25.70p75", "172p75.70p75", "-73p75.70p25", "-71p75.70p25", "-71p25.70p25", "-70p75.70p25", "-70p25.70p25", "-67p25.70p25", "-66p75.70p25", "-66p25.70p25", "-65p75.70p25", "-65p25.70p25", "-64p75.70p25", "-64p25.70p25", "-63p75.70p25", "171p25.70p25", "171p75.70p25", "172p25.70p25", "172p75.70p25", "173p25.70p25", "-69p75.69p75", "-69p25.69p75", "-66p75.69p75", "-66p25.69p75", "-65p75.69p75", "-65p25.69p75", "-64p75.69p75", "-63p75.69p75", "-69p75.69p25", "-69p25.69p25", "-66p25.69p25", "-65p75.69p25", "-65p25.69p25", "-67p75.68p75", "-67p25.68p75", "-66p75.68p75", "-66p25.68p75", "-65p75.68p75", "-65p25.68p75", "-73p75.68p25", "-66p25.68p25", "-65p75.68p25", "-65p25.68p25", "-64p75.68p25", "-64p25.68p25", "-63p75.68p25", "-63p25.68p25", "-62p75.68p25", "-62p25.68p25", "-73p25.67p75", "-72p75.67p75", "-66p75.67p75", "-66p25.67p75", "-65p75.67p75", "-65p25.67p75", "-64p25.67p75", "-63p75.67p75", "-63p25.67p75", "-62p75.67p75", "-62p25.67p75", "-73p25.67p25", "-72p75.67p25", "-66p75.67p25", "-66p25.67p25", "-65p75.67p25", "-65p25.67p25", "-62p75.67p25", "-62p25.67p25", "-73p25.66p75", "-70p75.66p75", "-65p75.66p75", "-65p25.66p75", "-63p75.66p75", "-63p25.66p75", "-70p75.66p25", "-70p25.66p25", "-66p75.66p25", "-65p75.66p25", "-65p25.66p25", "-63p75.66p25", "-63p25.66p25", "-61p75.66p25", "-61p25.66p25", "-60p75.66p25", "-60p25.66p25", "-59p75.66p25", "-59p25.66p25", "-67p25.65p75", "-66p75.65p75", "-66p25.65p75", "-65p75.65p75", "-62p25.65p75", "-61p75.65p75", "-61p25.65p75", "-60p75.65p75", "-60p25.65p75", "-59p75.65p75", "-59p25.65p75", "-58p75.65p75", "-58p25.65p75", "-57p75.65p75", "-66p75.65p25", "-66p25.65p25", "-65p75.65p25", "-65p25.65p25", "-63p25.65p25", "-62p75.65p25", "-62p25.65p25", "-61p75.65p25", "-61p25.65p25", "-60p75.65p25", "-60p25.65p25", "-59p75.65p25", "-59p25.65p25", "-58p75.65p25", "-58p25.65p25", "-57p75.65p25", "-71p25.64p75", "-65p25.64p75", "-64p75.64p75", "-64p25.64p75", "-63p75.64p75", "-63p25.64p75", "-62p75.64p75", "-62p25.64p75", "-61p75.64p75", "-61p25.64p75", "-60p75.64p75", "-60p25.6
Backtrace:
▆
1. ├─m05[getItems(m05in, dim = 1), , ] at test-readwritemagpie.R:93:3
2. └─m05[getItems(m05in, dim = 1), , ]
3. └─magclass (local) .local(x, i, j, ..., drop = drop)
4. └─magclass:::.dimextract(x, i, 1, pmatch = pmatch, invert = invert)
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 744 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [13s/19s] OK
- checking PDF version of manual ... [7s/10s] OK
- checking HTML version of manual ... [5s/7s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR