Last updated on 2024-12-26 01:50:02 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 6.13.2 | 8.88 | 83.20 | 92.08 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 6.13.2 | 6.26 | 78.94 | 85.20 | OK | |
r-devel-linux-x86_64-fedora-clang | 6.13.2 | 212.94 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 6.13.2 | 212.93 | OK | |||
r-devel-windows-x86_64 | 6.13.2 | 12.00 | 146.00 | 158.00 | OK | |
r-patched-linux-x86_64 | 6.13.2 | 10.23 | 110.77 | 121.00 | NOTE | |
r-release-linux-x86_64 | 6.13.2 | 9.94 | 110.60 | 120.54 | NOTE | |
r-release-macos-arm64 | 6.13.2 | 58.00 | NOTE | |||
r-release-macos-x86_64 | 6.13.2 | 95.00 | NOTE | |||
r-release-windows-x86_64 | 6.13.2 | 11.00 | 142.00 | 153.00 | NOTE | |
r-oldrel-macos-arm64 | 6.13.2 | 69.00 | NOTE | |||
r-oldrel-macos-x86_64 | 6.13.2 | 202.00 | NOTE | |||
r-oldrel-windows-x86_64 | 6.13.2 | 11.00 | 169.00 | 180.00 | NOTE |
Version: 6.13.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(magclass)
>
> test_check("magclass")
[ 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. │ │ └─rlang::try_fetch(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
8. └─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-clang
Version: 6.13.2
Check: package dependencies
Result: NOTE
Packages suggested but not available for checking: 'lpjmlkit', 'quitte'
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-windows-x86_64
Version: 6.13.2
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: 'quitte'
Flavors: r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64