CRAN Package Check Results for Maintainer ‘Jan Philipp Dietrich <dietrich at pik-potsdam.de>’

Last updated on 2024-12-23 12:49:41 CET.

Package ERROR NOTE OK
citation 13
gms 13
goxygen 3 10
madrat 1 12
magclass 1 8 4

Package citation

Current CRAN status: OK: 13

Package gms

Current CRAN status: OK: 13

Package goxygen

Current CRAN status: NOTE: 3, OK: 10

Version: 1.0.3
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: createListModularCode.Rd: codeCheck createListSimpleCode.Rd: codeCheck goxygen.Rd: codeCheck Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64

Package madrat

Current CRAN status: ERROR: 1, OK: 12

Version: 3.6.4
Check: Rd files
Result: NOTE checkRd: (-1) toolAggregate.Rd:49: Lost braces; missing escapes or markup? 49 | If {rel} is missing \code{to} refers to the aggregation target dimension name.} | ^ checkRd: (-1) toolGetMapping.Rd:18: Lost braces 18 | and rda (which needs to have the data stored with the object name "data"!). Use code{\link{toolConvertMapping}} | ^ Flavor: r-devel-linux-x86_64-debian-clang

Version: 3.6.4
Check: tests
Result: ERROR Running ‘testthat.R’ [37s/46s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(madrat) Loading required package: magclass > > test_check("madrat") [ FAIL 3 | WARN 2 | SKIP 8 | PASS 581 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-calcOutput.R:23:3', 'test-calcOutput.R:114:3', 'test-metadataGFZ.R:2:3', 'test-puc.R:2:4', 'test-readSource.R:55:3', 'test-readSource.R:61:3', 'test-readSource.R:70:3' • {reshape2} is not installed (1): 'test-calcOutput.R:450:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-toolCountryFill.R:5:3'): toolCountryFill works as expected ─── y["DEU", , ] == 0 is not TRUE is(actual) | is(expected) [1] "magpie" - "logical" [1] [2] "array" - "vector" [2] [3] "structure" - "index" [3] [4] "vector" - "replValue" [4] - "numLike" [5] - "atomicVector" [6] `dim(actual)` is an integer vector (1, 1, 1) `dim(expected)` is absent `dimnames(actual)` is a list `dimnames(expected)` is absent ── Failure ('test-toolCountryFill.R:22:3'): toolCountryFill works as expected ── toolCountryFill(x3, 99, FRA = "DEU")["FRA", , ] == 42 is not TRUE is(actual) | is(expected) [1] "magpie" - "logical" [1] [2] "array" - "vector" [2] [3] "structure" - "index" [3] [4] "vector" - "replValue" [4] - "numLike" [5] - "atomicVector" [6] `dim(actual)` is an integer vector (1, 1, 1) `dim(expected)` is absent `dimnames(actual)` is a list `dimnames(expected)` is absent ── Failure ('test-toolCountryFill.R:24:3'): toolCountryFill works as expected ── y5["FRA", , ] == 0 is not TRUE is(actual) | is(expected) [1] "magpie" - "logical" [1] [2] "array" - "vector" [2] [3] "structure" - "index" [3] [4] "vector" - "replValue" [4] - "numLike" [5] - "atomicVector" [6] `dim(actual)` is an integer vector (1, 1, 1) `dim(expected)` is absent `dimnames(actual)` is a list `dimnames(expected)` is absent [ FAIL 3 | WARN 2 | SKIP 8 | PASS 581 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Package magclass

Current CRAN status: ERROR: 1, NOTE: 8, OK: 4

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