CRAN Package Check Results for Package magclass

Last updated on 2025-12-06 00:48:48 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 6.13.2 10.63 128.55 139.18 OK
r-devel-linux-x86_64-debian-gcc 6.13.2 7.21 41.41 48.62 ERROR
r-devel-linux-x86_64-fedora-clang 6.13.2 22.00 198.39 220.39 OK
r-devel-linux-x86_64-fedora-gcc 6.13.2 20.00 201.67 221.67 OK
r-devel-windows-x86_64 6.13.2 11.00 148.00 159.00 OK
r-patched-linux-x86_64 6.13.2 11.46 116.38 127.84 OK
r-release-linux-x86_64 6.13.2 8.31 117.49 125.80 OK
r-release-macos-arm64 6.13.2 OK
r-release-macos-x86_64 6.13.2 8.00 119.00 127.00 OK
r-release-windows-x86_64 6.13.2 10.00 146.00 156.00 OK
r-oldrel-macos-arm64 6.13.2 NOTE
r-oldrel-macos-x86_64 6.13.2 7.00 88.00 95.00 NOTE
r-oldrel-windows-x86_64 6.13.2 11.00 174.00 185.00 NOTE

Check Details

Version: 6.13.2
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'covr', 'lpjmlkit', 'knitr', 'quitte', 'raster', 'rmarkdown', 'terra' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 6.13.2
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(magclass) > > test_check("magclass") Saving _problems/test-readwritemagpie-86.R Saving _problems/test-readwritemagpie-87.R Saving _problems/test-readwritemagpie-157.R Saving _problems/test-readwritemagpie-158.R Saving _problems/test-readwritemagpie-159.R [ FAIL 5 | WARN 0 | SKIP 3 | PASS 643 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • {quitte} is not installed (2): 'test-as.magpie.R:22:3', 'test-as.magpie.R:63:3' • {terra} is not installed (1): 'test-raster.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-readwritemagpie.R:86:3'): handling of spatial data works ───── `write.magpie(m10, file.path(td, "test.grd"))` threw an error with unexpected message. Expected match: "no support for multiple variables" Actual message: "The package \"raster\" is required!" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-readwritemagpie.R:86:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─magclass::write.magpie(m10, file.path(td, "test.grd")) ── Error ('test-readwritemagpie.R:87:3'): handling of spatial data works ─────── Error in `write.magpie(m10, file.path(td, "test.nc"))`: The packages "ncdf4" and "terra" are required! Backtrace: ▆ 1. ├─testthat::expect_no_warning(write.magpie(m10, file.path(td, "test.nc"))) at test-readwritemagpie.R:87:3 2. │ └─testthat:::expect_no_(...) 3. │ └─testthat:::quasi_capture(enquo(object), NULL, capture) 4. │ ├─testthat (local) .capture(...) 5. │ │ ├─base::withRestarts(...) 6. │ │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 7. │ │ │ └─base (local) doWithOneRestart(return(expr), restart) 8. │ │ └─base::withCallingHandlers(...) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. └─magclass::write.magpie(m10, file.path(td, "test.nc")) ── Failure ('test-readwritemagpie.R:157:3'): read/write triggers errors and warnings correctly ── `write.magpie(as.magpie(1), "bla.nc")` threw an error with unexpected message. Expected match: "No coordinates" Actual message: "The packages \"ncdf4\" and \"terra\" are required!" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-readwritemagpie.R:157:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─magclass::write.magpie(as.magpie(1), "bla.nc") ── Failure ('test-readwritemagpie.R:158:3'): read/write triggers errors and warnings correctly ── `write.magpie(a, "blub.grd")` threw an error with unexpected message. Expected match: "no support for multiple variables" Actual message: "The package \"raster\" is required!" Backtrace: ▆ 1. ├─testthat::expect_error(write.magpie(a, "blub.grd"), "no support for multiple variables") at test-readwritemagpie.R:158:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─magclass::write.magpie(a, "blub.grd") ── Failure ('test-readwritemagpie.R:159:3'): read/write triggers errors and warnings correctly ── `write.magpie(a[, , 1], "blub.asc")` threw an error with unexpected message. Expected match: "choose just one" Actual message: "The package \"raster\" is required!" Backtrace: ▆ 1. ├─testthat::expect_error(write.magpie(a[, , 1], "blub.asc"), "choose just one") at test-readwritemagpie.R:159:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─magclass::write.magpie(a[, , 1], "blub.asc") [ FAIL 5 | WARN 0 | SKIP 3 | PASS 643 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 6.13.2
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc

Version: 6.13.2
Check: package dependencies
Result: NOTE Packages suggested but not available for checking: 'lpjmlkit', 'quitte' Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 6.13.2
Check: package dependencies
Result: NOTE Package suggested but not available for checking: 'quitte' Flavor: r-oldrel-windows-x86_64