CRAN Package Check Results for Package climatehealth

Last updated on 2026-04-23 01:52:15 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 19.31 282.94 302.25 OK
r-devel-linux-x86_64-debian-gcc 1.0.1 13.46 186.95 200.41 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 38.00 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 38.00 476.13 514.13 OK
r-devel-macos-arm64 1.0.1 5.00 64.00 69.00 OK
r-devel-windows-x86_64 1.0.1 24.00 270.00 294.00 OK
r-patched-linux-x86_64 1.0.1 22.58 266.45 289.03 OK
r-release-linux-x86_64 1.0.1 19.42 256.27 275.69 OK
r-release-macos-arm64 1.0.1 4.00 64.00 68.00 OK
r-release-macos-x86_64 1.0.1 13.00 269.00 282.00 OK
r-release-windows-x86_64 1.0.1 24.00 268.00 292.00 OK
r-oldrel-macos-x86_64 1.0.1 14.00 215.00 229.00 NOTE
r-oldrel-windows-x86_64 1.0.1 32.00 352.00 384.00 OK

Check Details

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [4m/11m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(patrick) > library(climatehealth) > > test_check("climatehealth") This is dlnm 2.4.10. For details: help(dlnm) and vignette('dlnmOverview'). Saving _problems/test_diseases_shared-2304.R Saving _problems/test_diseases_shared-2346.R Saving _problems/test_diseases_shared-2392.R Saving _problems/test_diseases_shared-2433.R Saving _problems/test_diseases_shared-2566.R Saving _problems/test_diseases_shared-2617.R | | | 0% | |=================================== | 50% | |======================================================================| 100% [ FAIL 6 | WARN 6 | SKIP 9 | PASS 2237 ] ══ Skipped tests (9) ═══════════════════════════════════════════════════════════ • On CRAN (9): 'test_air_pollution.R:4922:3', 'test_air_pollution.R:5036:3', 'test_air_pollution.R:5091:3', 'test_diarrhea.R:71:3', 'test_malaria.R:92:3', 'test_mental_health.R:1788:3', 'test_temp_mortality.R:2586:3', 'test_wildfire.R:1943:5', 'test_wildfire.R:2020:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_diseases_shared.R:2304:5'): plot_attribution_metric returns grouped bar plots when filter_year has >2 values and level is region ── Error in `value[[3L]](cond)`: Package 'ggplot2' version 4.0.2 cannot be unloaded: Error in unloadNamespace(package) : namespace 'ggplot2' is imported by 'ggtext', 'patchwork' so cannot be unloaded Backtrace: ▆ 1. ├─base::suppressWarnings(library(ggplot2)) at test_diseases_shared.R:2304:5 2. │ └─base::withCallingHandlers(...) 3. └─base::library(ggplot2) 4. └─base::tryCatch(...) 5. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. └─value[[3L]](cond) ── Error ('test_diseases_shared.R:2346:5'): plot_attribution_metric saves PDF correctly with district plots ── Error in `value[[3L]](cond)`: Package 'ggplot2' version 4.0.2 cannot be unloaded: Error in unloadNamespace(package) : namespace 'ggplot2' is imported by 'ggtext', 'patchwork' so cannot be unloaded Backtrace: ▆ 1. └─base::library(ggplot2) at test_diseases_shared.R:2346:5 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test_diseases_shared.R:2392:5'): plot_attribution_metric saves multi-year grouped region plots to PDF ── Error in `value[[3L]](cond)`: Package 'ggplot2' version 4.0.2 cannot be unloaded: Error in unloadNamespace(package) : namespace 'ggplot2' is imported by 'ggtext', 'patchwork' so cannot be unloaded Backtrace: ▆ 1. └─base::library(ggplot2) at test_diseases_shared.R:2392:5 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test_diseases_shared.R:2433:5'): plot_attribution_metric saves multi-year grouped region plots to PDF for AR_Number ── Error in `value[[3L]](cond)`: Package 'ggplot2' version 4.0.2 cannot be unloaded: Error in unloadNamespace(package) : namespace 'ggplot2' is imported by 'ggtext', 'patchwork' so cannot be unloaded Backtrace: ▆ 1. └─base::library(ggplot2) at test_diseases_shared.R:2433:5 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test_diseases_shared.R:2566:3'): plot_avg_monthly correctly uses mean aggregation for AR_Number ── <functionNotFoundError/objectNotFoundError/error/condition> Error in `ggplot_build(res$AR_Number$North)`: could not find function "ggplot_build" ── Error ('test_diseases_shared.R:2617:3'): filter_year restricts data before aggregation ── <functionNotFoundError/objectNotFoundError/error/condition> Error in `ggplot_build(res$AR_Number$Country)`: could not find function "ggplot_build" [ FAIL 6 | WARN 6 | SKIP 9 | PASS 2237 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘INLA’ Flavor: r-oldrel-macos-x86_64