Last updated on 2024-12-23 12:49:18 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 6.13.2 | 10.66 | 119.55 | 130.21 | OK | |
r-devel-linux-x86_64-debian-gcc | 6.13.2 | 6.51 | 57.74 | 64.25 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 6.13.2 | 212.94 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 6.13.2 | 211.71 | OK | |||
r-devel-windows-x86_64 | 6.13.2 | 11.00 | 167.00 | 178.00 | OK | |
r-patched-linux-x86_64 | 6.13.2 | 9.12 | 111.16 | 120.28 | 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 | 12.00 | 138.00 | 150.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 | 10.00 | 164.00 | 174.00 | NOTE |
Version: 6.13.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/8s]
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-gcc
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