CRAN Package Check Results for Package clim4health

Last updated on 2026-11-09 06:54:14 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 6.69 453.92 460.61 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 4.05 281.44 285.49 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 5.00 317.36 322.36 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 5.00 336.85 341.85 OK
r-devel-windows-x86_64 0.1.1 11.00 473.00 484.00 OK
r-patched-linux-x86_64 0.1.0 OK
r-release-linux-x86_64 0.1.1 6.79 431.84 438.63 OK
r-release-macos-arm64 0.1.1 2.00 107.00 109.00 OK
r-release-macos-x86_64 0.1.1 5.00 699.00 704.00 ERROR
r-release-windows-x86_64 0.1.1 16.00 520.00 536.00 OK
r-oldrel-macos-arm64 0.1.1 2.00 136.00 138.00 OK
r-oldrel-macos-x86_64 0.1.1 5.00 668.00 673.00 ERROR
r-oldrel-windows-x86_64 0.1.1 16.00 626.00 642.00 OK

Check Details

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [91s/280s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(clim4health) > > test_check("clim4health") Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. 'crs' is not provided. Taking CRS from the input data. The 'exp' s2dv_cube object has been aggregated to regions and has an 'area' dimension. Only bias adjustment or calibration will be applied, no spatial downscaling. Note: If using 'Intbc' and 'points' is not specified, downscaling is to a grid. 'target_grid' has not been specified. Downscaling will be done to the grid of 'obs'. Note: If using 'Intbc' and 'points' is not specified, downscaling is to a grid. 'target_grid' has not been specified. Downscaling will be done to the grid of 'obs'. Note: If using 'Intlr' and 'points' is not specified, downscaling is to a grid. 'target_grid' has not been specified. Downscaling will be done to the grid of 'obs'. [1] "Loading data to: /Volumes/Builds/packages/big-sur-x86_64/results/4.6/clim4health.Rcheck/tests/testthat/ERA5.land..April.data_2025_04_202504.nc" [1] "Loaded 4-2025: took 0.00430417060852051" [1] "File saved to: /Volumes/Builds/packages/big-sur-x86_64/results/4.6/clim4health.Rcheck/tests/testthat/ERA5.land..April.data_2025_04_202504.nc" [1] "Loading data to: /Volumes/Builds/packages/big-sur-x86_64/results/4.6/clim4health.Rcheck/tests/testthat/hindcast_201004.nc" [1] "Loaded 4-2010: took 0.00405216217041016" [1] "File saved to: /Volumes/Builds/packages/big-sur-x86_64/results/4.6/clim4health.Rcheck/tests/testthat/hindcast_201004.nc" [1] "Loading data to: /Volumes/Builds/packages/big-sur-x86_64/results/4.6/clim4health.Rcheck/tests/testthat/hindcast_201104.nc" [1] "Loaded 4-2011: took 0.00480103492736816" [1] "File saved to: /Volumes/Builds/packages/big-sur-x86_64/results/4.6/clim4health.Rcheck/tests/testthat/hindcast_201104.nc" [1] "Loading data to: /Volumes/Builds/packages/big-sur-x86_64/results/4.6/clim4health.Rcheck/tests/testthat/hindcast_201204.nc" [1] "Loaded 4-2012: took 0.0439610481262207" [1] "File saved to: /Volumes/Builds/packages/big-sur-x86_64/results/4.6/clim4health.Rcheck/tests/testthat/hindcast_201204.nc" - test-dataset-1 - test-dataset-2 Available climate datasets: - product_type - variable Required parameters: Variables found in 'path' are: 't2m'. Requested variables are: 'invalid_var'. Requested variable 'invalid_var' not found in 'path'. Skipping. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. Aggregating ensemble members with the function: mean Linking to GEOS 3.14.1, GDAL 3.8.5, PROJ 9.5.1; sf_use_s2() is TRUE terra 1.9.50 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe Spherical geometry (s2) switched off Coordinate system already present. i Adding new coordinate system, which will replace the existing one. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. The provided areas are not in WGS84 (EPSG: 4326). They will be transformed into that CRS to perfom the spatial aggregation 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. 'crs' is not provided. Taking CRS from the input data. Time zone in the input data is empty. Assuming system timezone: America/New_York Time zone in the input data is empty. Assuming system timezone: America/New_York Saving _problems/test-c4h_time-91.R Time zone in the input data is empty. Assuming system timezone: America/New_York Saving _problems/test-c4h_time-101.R Requested variable 'dummy' not found in 'path'. Skipping. [ FAIL 2 | WARN 58 | SKIP 8 | PASS 691 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (8): 'test-c4h_downscale.R:255:3', 'test-c4h_downscale.R:277:3', 'test-c4h_downscale.R:300:3', 'test-c4h_downscale.R:311:3', 'test-c4h_downscale.R:347:3', 'test-c4h_downscale.R:384:3', 'test-utils-load.R:654:3', 'test-utils-load.R:792:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-c4h_time.R:54:3'): Time examples run without problems ──────── Expected `{ ... }` not to throw any errors. Actually got a <expectation_failure> with message: Expected `dim(stat_month$data)[["sdate"]]` to equal 4. Differences: `actual`: 8.0 `expected`: 4.0 ── Failure ('test-c4h_time.R:101:3'): Time examples run without problems ─────── Expected `dim(stat_daily$data)[["time"]]` to equal 1488. Differences: `actual`: 1519.0 `expected`: 1488.0 [ FAIL 2 | WARN 58 | SKIP 8 | PASS 691 ] Error: ! Test failures. Execution halted Flavor: r-release-macos-x86_64

Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘clim4health_downscaling.Rmd’ using rmarkdown --- finished re-building ‘clim4health_downscaling.Rmd’ --- re-building ‘clim4health_get.Rmd’ using rmarkdown --- finished re-building ‘clim4health_get.Rmd’ --- re-building ‘clim4health_glossary.Rmd’ using rmarkdown --- finished re-building ‘clim4health_glossary.Rmd’ --- re-building ‘clim4health_overview.Rmd’ using rmarkdown Quitting from clim4health_overview.Rmd:551-558 [climatology_2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `CSTools::CST_BindDim()`: ! All elements of 'x' must have the same dimension names and length, except for the dimension specified in 'along'. --- Backtrace: ▆ 1. └─clim4health::c4h_time(...) 2. └─CSTools::CST_BindDim(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'clim4health_overview.Rmd' failed with diagnostics: All elements of 'x' must have the same dimension names and length, except for the dimension specified in 'along'. --- failed re-building ‘clim4health_overview.Rmd’ --- re-building ‘clim4health_s2dv_cubes.Rmd’ using rmarkdown --- finished re-building ‘clim4health_s2dv_cubes.Rmd’ --- re-building ‘clim4health_verification.Rmd’ using rmarkdown --- finished re-building ‘clim4health_verification.Rmd’ SUMMARY: processing the following file failed: ‘clim4health_overview.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [83s/222s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(clim4health) > > test_check("clim4health") Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. 'crs' is not provided. Taking CRS from the input data. The 'exp' s2dv_cube object has been aggregated to regions and has an 'area' dimension. Only bias adjustment or calibration will be applied, no spatial downscaling. Note: If using 'Intbc' and 'points' is not specified, downscaling is to a grid. 'target_grid' has not been specified. Downscaling will be done to the grid of 'obs'. Note: If using 'Intbc' and 'points' is not specified, downscaling is to a grid. 'target_grid' has not been specified. Downscaling will be done to the grid of 'obs'. Note: If using 'Intlr' and 'points' is not specified, downscaling is to a grid. 'target_grid' has not been specified. Downscaling will be done to the grid of 'obs'. [1] "Loading data to: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/clim4health.Rcheck/tests/testthat/ERA5.land..April.data_2025_04_202504.nc" [1] "Loaded 4-2025: took 0.0161161422729492" [1] "File saved to: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/clim4health.Rcheck/tests/testthat/ERA5.land..April.data_2025_04_202504.nc" [1] "Loading data to: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/clim4health.Rcheck/tests/testthat/hindcast_201004.nc" [1] "Loaded 4-2010: took 0.0291478633880615" [1] "File saved to: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/clim4health.Rcheck/tests/testthat/hindcast_201004.nc" [1] "Loading data to: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/clim4health.Rcheck/tests/testthat/hindcast_201104.nc" [1] "Loaded 4-2011: took 0.00655198097229004" [1] "File saved to: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/clim4health.Rcheck/tests/testthat/hindcast_201104.nc" [1] "Loading data to: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/clim4health.Rcheck/tests/testthat/hindcast_201204.nc" [1] "Loaded 4-2012: took 0.00537395477294922" [1] "File saved to: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/clim4health.Rcheck/tests/testthat/hindcast_201204.nc" - test-dataset-1 - test-dataset-2 Available climate datasets: - product_type - variable Required parameters: Variables found in 'path' are: 't2m'. Requested variables are: 'invalid_var'. Requested variable 'invalid_var' not found in 'path'. Skipping. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. Aggregating ensemble members with the function: mean Linking to GEOS 3.14.1, GDAL 3.8.5, PROJ 9.5.1; sf_use_s2() is TRUE terra 1.9.50 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe Spherical geometry (s2) switched off Coordinate system already present. i Adding new coordinate system, which will replace the existing one. Variables found in 'path' are: 't2m'. Requested variables are: 't2m'. The provided areas are not in WGS84 (EPSG: 4326). They will be transformed into that CRS to perfom the spatial aggregation 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. 'crs' is not provided. Assuming WGS 84 (EPSG:4326) for gridded data. 'crs' is not provided. Taking CRS from the input data. Time zone in the input data is empty. Assuming system timezone: America/New_York Time zone in the input data is empty. Assuming system timezone: America/New_York Saving _problems/test-c4h_time-91.R Time zone in the input data is empty. Assuming system timezone: America/New_York Saving _problems/test-c4h_time-101.R Requested variable 'dummy' not found in 'path'. Skipping. [ FAIL 2 | WARN 58 | SKIP 8 | PASS 691 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (8): 'test-c4h_downscale.R:255:3', 'test-c4h_downscale.R:277:3', 'test-c4h_downscale.R:300:3', 'test-c4h_downscale.R:311:3', 'test-c4h_downscale.R:347:3', 'test-c4h_downscale.R:384:3', 'test-utils-load.R:654:3', 'test-utils-load.R:792:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-c4h_time.R:54:3'): Time examples run without problems ──────── Expected `{ ... }` not to throw any errors. Actually got a <expectation_failure> with message: Expected `dim(stat_month$data)[["sdate"]]` to equal 4. Differences: `actual`: 8.0 `expected`: 4.0 ── Failure ('test-c4h_time.R:101:3'): Time examples run without problems ─────── Expected `dim(stat_daily$data)[["time"]]` to equal 1488. Differences: `actual`: 1519.0 `expected`: 1488.0 [ FAIL 2 | WARN 58 | SKIP 8 | PASS 691 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-macos-x86_64