CRAN Package Check Results for Package magclass

Last updated on 2026-11-10 04:53:14 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 7.5.0 9.43 207.56 216.99 NOTE
r-devel-linux-x86_64-debian-gcc 7.5.0 7.94 113.93 121.87 ERROR
r-devel-linux-x86_64-fedora-clang 7.5.0 NOTE
r-devel-linux-x86_64-fedora-gcc 7.5.0 153.41 NOTE
r-devel-windows-x86_64 7.5.0 14.00 220.00 234.00 NOTE
r-patched-linux-x86_64 7.5.0 OK
r-release-linux-x86_64 7.5.0 9.64 199.33 208.97 OK
r-release-macos-arm64 7.5.0 4.00 75.00 79.00 OK
r-release-macos-x86_64 7.5.0 8.00 365.00 373.00 OK
r-release-windows-x86_64 7.5.0 12.00 223.00 235.00 OK
r-oldrel-macos-arm64 7.5.0 3.00 67.00 70.00 OK
r-oldrel-macos-x86_64 7.5.0 8.00 365.00 373.00 OK
r-oldrel-windows-x86_64 7.5.0 16.00 263.00 279.00 OK

Check Details

Version: 7.5.0
Check: R code for possible problems
Result: NOTE Found calls to structure() using deprecated special names: magclass/tests/testthat/test-addDim.R (.Dim: 4, .Dimnames: 4) magclass/tests/testthat/test-as.data.frame.R (.Label: 5) magclass/tests/testthat/test-as.magpie.R (.Dim: 4, .Dimnames: 4, .Names: 2) magclass/tests/testthat/test-complete_magpie.R (.Dim: 1, .Dimnames: 1) magclass/tests/testthat/test-convergence.R (.Dim: 1, .Dimnames: 1) magclass/tests/testthat/test-dimSums.R (.Dim: 5, .Dimnames: 5) magclass/tests/testthat/test-getCPR.R (.Dim: 3, .Dimnames: 3) magclass/tests/testthat/test-lowpass.R (.Dim: 1, .Dimnames: 1) magclass/tests/testthat/test-magpply.R (.Dim: 3, .Dimnames: 3) magclass/tests/testthat/test-mselect.R (.Dim: 1, .Dimnames: 1) magclass/tests/testthat/test-readwritemagpie.R (.Dim: 2, .Dimnames: 2) magclass/tests/testthat/test-various.R (.Dim: 4, .Dimnames: 3) magclass/tests/testthat/test-where.R (.Dim: 3, .Dimnames: 3) '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'. '.Label' should be changed to 'levels'. '.Names' should be changed to 'names'. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 7.5.0
Check: Rd contents
Result: NOTE Rd files without \usage: ‘magpie-class.Rd’ \arguments should not be documented without \usage. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 7.5.0
Check: tests
Result: ERROR Running ‘testthat.R’ [43s/53s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(magclass) Attaching package: 'magclass' The following objects are masked from 'package:base': pmax, pmin > > test_check("magclass") Saving _problems/test-readwritemagpie-172.R Saving _problems/test-readwritemagpie-173.R [ FAIL 3 | WARN 39 | SKIP 3 | PASS 762 ] ══ 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 ════════════════════════════════════════════════════════════════ ── Error ('test-readwritemagpie.R:90:3'): handling of spatial data works ─────── Error in `read.magpie(file.path(td, "test.nc"))`: The package "terra" is required! Backtrace: ▆ 1. ├─testthat::expect_silent(m05in <- read.magpie(file.path(td, "test.nc"))) at test-readwritemagpie.R:90:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─magclass::read.magpie(file.path(td, "test.nc")) ── Failure ('test-readwritemagpie.R:172: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:172: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:173: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:173: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 3 | WARN 39 | SKIP 3 | PASS 762 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc