CRAN Package Check Results for Package metR

Last updated on 2026-10-05 21:50:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.18.3 15.56 316.36 331.92 OK
r-devel-linux-x86_64-debian-gcc 0.18.3 10.32 212.43 222.75 OK
r-devel-linux-x86_64-fedora-clang 0.18.3 13.00 193.95 206.95 ERROR
r-devel-linux-x86_64-fedora-gcc 0.18.3 12.00 204.16 216.16 ERROR
r-devel-windows-x86_64 0.18.3 19.00 336.00 355.00 OK
r-patched-linux-x86_64 0.18.3 15.26 301.40 316.66 OK
r-release-linux-x86_64 0.18.3 OK
r-release-macos-arm64 0.18.3 4.00 74.00 78.00 OK
r-release-macos-x86_64 0.18.3 11.00 332.00 343.00 OK
r-release-windows-x86_64 0.18.3 20.00 322.00 342.00 OK
r-oldrel-macos-arm64 0.18.3 4.00 84.00 88.00 OK
r-oldrel-macos-x86_64 0.18.3 11.00 308.00 319.00 OK
r-oldrel-windows-x86_64 0.18.3 24.00 426.00 450.00 OK

Check Details

Version: 0.18.3
Check: examples
Result: ERROR Running examples in ‘metR-Ex.R’ failed The error most likely occurred in: > ### Name: ImputeEOF > ### Title: Impute missing values > ### Aliases: ImputeEOF > > ### ** Examples > > library(data.table) Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > data(geopotential) > geopotential <- copy(geopotential) > geopotential[, gh.t := Anomaly(gh), by = .(lat, lon, month(date))] > > # Add gaps to field > geopotential[, gh.gap := gh.t] > set.seed(42) > geopotential[sample(1:.N, .N*0.3), gh.gap := NA] > > max.eof <- 5 # change to a higher value > geopotential[, gh.impute := ImputeEOF(gh.gap ~ lat + lon | date, max.eof, + verbose = TRUE, max.iter = 2000)] With 1 eof - rmse = 27.147 Error in prval$u %*% diag(prval$d, nrow = n.eof) : non-conformable arguments Calls: [ ... [.data.table -> eval -> eval -> ImputeEOF -> .ImputeEOF1 Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.18.3
Check: tests
Result: ERROR Running ‘testthat.R’ [55s/123s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(metR) > # library(vdiffr) > > on_cran <- !isTRUE(as.logical(Sys.getenv("NOT_CRAN", "false"))) > if (on_cran) data.table::setDTthreads(2) > > test_check("metR") Saving _problems/test-imputeeof-15.R [ FAIL 1 | WARN 0 | SKIP 20 | PASS 187 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (20): 'test-GetTopography.R:3:5', 'test-ReadNetCDF.R:81:5', 'test-vis-arrow.R:9:1', 'test-vis-arrow.R:31:1', 'test-vis-contour2.R:10:1', 'test-vis-contour2.R:24:1', 'test-vis-contour2.R:34:1', 'test-vis-contour2.R:52:1', 'test-vis-contour2.R:71:1', 'test-vis-contour_fill.R:11:1', 'test-vis-contour_fill.R:25:1', 'test-vis-contour_fill.R:36:1', 'test-vis-discretised-scale.R:12:1', 'test-vis-geom-relief.R:10:1', 'test-vis-guide_colorstrip.R:13:1', 'test-vis-streamline.R:18:1', 'test-vis-streamline.R:27:1', 'test-vis-text-contour.R:11:1', 'test-vis-text-contour.R:67:1', 'test-vis-text-contour.R:78:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-imputeeof.R:14:1'): (code run outside of `test_that()`) ──────── Error in `prval$u %*% diag(prval$d, nrow = n.eof)`: non-conformable arguments Backtrace: ▆ 1. ├─...[] at test-imputeeof.R:14:1 2. └─data.table:::`[.data.table`(...) at test-imputeeof.R:14:1 3. └─base::eval(jsub, SDenv, parent.frame()) 4. └─base::eval(jsub, SDenv, parent.frame()) 5. └─metR::ImputeEOF(gh.gap ~ lat + lon | date, max.eof = 5, max.iter = 2000) 6. └─metR:::.ImputeEOF1(...) [ FAIL 1 | WARN 0 | SKIP 20 | PASS 187 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.18.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘Visualization-tools.Rmd’ using knitr OMP: Warning #96: Cannot form a team with 28 threads, using 2 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). --- finished re-building ‘Visualization-tools.Rmd’ --- re-building ‘Working-with-data.Rmd’ using knitr Quitting from Working-with-data.Rmd:148-154 [unnamed-chunk-9] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `prval$u %*% diag(prval$d, nrow = n.eof)`: ! non-conformable arguments --- Backtrace: ▆ 1. ├─...[] 2. └─data.table:::`[.data.table`(...) 3. └─base::eval(jsub, SDenv, parent.frame()) 4. └─base::eval(jsub, SDenv, parent.frame()) 5. └─metR::ImputeEOF(gh.na ~ lon + lat | date, max.eof = 5) 6. └─metR:::.ImputeEOF1(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Working-with-data.Rmd' failed with diagnostics: non-conformable arguments --- failed re-building ‘Working-with-data.Rmd’ SUMMARY: processing the following file failed: ‘Working-with-data.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.18.3
Check: tests
Result: ERROR Running ‘testthat.R’ [62s/125s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(metR) > # library(vdiffr) > > on_cran <- !isTRUE(as.logical(Sys.getenv("NOT_CRAN", "false"))) > if (on_cran) data.table::setDTthreads(2) > > test_check("metR") Saving _problems/test-imputeeof-15.R [ FAIL 1 | WARN 0 | SKIP 20 | PASS 187 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (20): 'test-GetTopography.R:3:5', 'test-ReadNetCDF.R:81:5', 'test-vis-arrow.R:9:1', 'test-vis-arrow.R:31:1', 'test-vis-contour2.R:10:1', 'test-vis-contour2.R:24:1', 'test-vis-contour2.R:34:1', 'test-vis-contour2.R:52:1', 'test-vis-contour2.R:71:1', 'test-vis-contour_fill.R:11:1', 'test-vis-contour_fill.R:25:1', 'test-vis-contour_fill.R:36:1', 'test-vis-discretised-scale.R:12:1', 'test-vis-geom-relief.R:10:1', 'test-vis-guide_colorstrip.R:13:1', 'test-vis-streamline.R:18:1', 'test-vis-streamline.R:27:1', 'test-vis-text-contour.R:11:1', 'test-vis-text-contour.R:67:1', 'test-vis-text-contour.R:78:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-imputeeof.R:14:1'): (code run outside of `test_that()`) ──────── Error in `prval$u %*% diag(prval$d, nrow = n.eof)`: non-conformable arguments Backtrace: ▆ 1. ├─...[] at test-imputeeof.R:14:1 2. └─data.table:::`[.data.table`(...) at test-imputeeof.R:14:1 3. └─base::eval(jsub, SDenv, parent.frame()) 4. └─base::eval(jsub, SDenv, parent.frame()) 5. └─metR::ImputeEOF(gh.gap ~ lat + lon | date, max.eof = 5, max.iter = 2000) 6. └─metR:::.ImputeEOF1(...) [ FAIL 1 | WARN 0 | SKIP 20 | PASS 187 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.18.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘Visualization-tools.Rmd’ using knitr --- finished re-building ‘Visualization-tools.Rmd’ --- re-building ‘Working-with-data.Rmd’ using knitr Quitting from Working-with-data.Rmd:148-154 [unnamed-chunk-9] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `prval$u %*% diag(prval$d, nrow = n.eof)`: ! non-conformable arguments --- Backtrace: ▆ 1. ├─...[] 2. └─data.table:::`[.data.table`(...) 3. └─base::eval(jsub, SDenv, parent.frame()) 4. └─base::eval(jsub, SDenv, parent.frame()) 5. └─metR::ImputeEOF(gh.na ~ lon + lat | date, max.eof = 5) 6. └─metR:::.ImputeEOF1(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Working-with-data.Rmd' failed with diagnostics: non-conformable arguments --- failed re-building ‘Working-with-data.Rmd’ SUMMARY: processing the following file failed: ‘Working-with-data.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc