CRAN Package Check Results for Package metR

Last updated on 2024-05-09 17:51:33 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.15.0 13.97 324.94 338.91 OK
r-devel-linux-x86_64-debian-gcc 0.15.0 15.35 245.57 260.92 OK
r-devel-linux-x86_64-fedora-clang 0.15.0 434.93 NOTE
r-devel-linux-x86_64-fedora-gcc 0.15.0 481.33 OK
r-devel-windows-x86_64 0.15.0 18.00 277.00 295.00 ERROR
r-patched-linux-x86_64 0.15.0 22.66 321.43 344.09 OK
r-release-linux-x86_64 0.15.0 17.60 321.47 339.07 OK
r-release-macos-arm64 0.15.0 115.00 OK
r-release-macos-x86_64 0.15.0 298.00 OK
r-release-windows-x86_64 0.15.0 18.00 270.00 288.00 OK
r-oldrel-macos-arm64 0.15.0 111.00 OK
r-oldrel-macos-x86_64 0.15.0 284.00 OK
r-oldrel-windows-x86_64 0.15.0 22.00 354.00 376.00 OK

Check Details

Version: 0.15.0
Check: Rd cross-references
Result: NOTE Undeclared package ‘rlang’ in Rd xrefs Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.15.0
Check: tests
Result: ERROR Running 'testthat.R' [38s] 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") [ FAIL 1 | WARN 3 | SKIP 23 | PASS 181 ] ══ Skipped tests (23) ══════════════════════════════════════════════════════════ • On CRAN (23): 'test-GetSMNData.R:3:5', 'test-GetSMNData.R:16:5', 'test-GetSMNData.R:30:5', 'test-GetTopography.R:3:5', 'test-ReadNetCDF.R:66:5', 'test-vis-arrow.R:10:5', 'test-vis-arrow.R:40:5', 'test-vis-contour2.R:10:5', 'test-vis-contour2.R:24:5', 'test-vis-contour2.R:35:5', 'test-vis-contour2.R:54:5', 'test-vis-contour2.R:73:5', 'test-vis-contour_fill.R:10:5', 'test-vis-contour_fill.R:24:5', 'test-vis-contour_fill.R:40:5', 'test-vis-discretised-scale.R:13:5', 'test-vis-geom-relief.R:9:5', 'test-vis-guide_colorstrip.R:14:5', 'test-vis-streamline.R:22:5', 'test-vis-streamline.R:28:5', 'test-vis-text-contour.R:11:5', 'test-vis-text-contour.R:67:5', 'test-vis-text-contour.R:78:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-derivate.R:50:5'): Works with unequal grid ─────────────────── sd(dx_num - dx, na.rm = TRUE) < 1e-04 is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. └─metR (local) test_derv(y, fill = TRUE) at test-derivate.R:50:5 2. └─testthat::expect_true(sd(dx_num - dx, na.rm = TRUE) < 1e-04) at test-derivate.R:15:5 [ FAIL 1 | WARN 3 | SKIP 23 | PASS 181 ] Deleting unused snapshots: • vis-arrow/dx-and-dy.svg • vis-arrow/guide-default.svg • vis-arrow/guide-max-1.svg • vis-arrow/guide-max-2.svg • vis-arrow/guide-max-size-2.svg • vis-arrow/guide-mm.svg • vis-arrow/guide-name-guide.svg • vis-arrow/vector-arrow-example.svg • vis-arrow/with-scale.svg • vis-contour2/aesthetics-in-contour-labels.svg • vis-contour2/contour2-base-stat.svg • vis-contour_fill/contour-fill-base-stat.svg • vis-contour_fill/contour-fill-fill.svg • vis-contour_fill/contour-fill-level-d.svg • vis-contour_fill/contour-fill-nofill2.svg • vis-discretised-scale/discretised-change-limits.svg • vis-discretised-scale/discretised-change-limits2.svg • vis-discretised-scale/discretised-divergent.svg • vis-discretised-scale/discretised-retrofitted.svg • vis-discretised-scale/user-supplied-breaks.svg • vis-geom-relief/volcano-relief-no-interpolate.svg • vis-geom-relief/volcano-relief-shadow.svg • vis-geom-relief/volcano-relief-sun-angle.svg • vis-geom-relief/volcano-shadow-range.svg • vis-geom-relief/volcano-shadow2.svg • vis-guide_colorstrip/colorstrip-inside.svg • vis-guide_colorstrip/horizontal-direction.svg • vis-guide_colorstrip/inside-guide-colorstip.svg • vis-guide_colorstrip/reverse-guide-colorstip.svg • vis-streamline/streamline-base-stat.svg • vis-streamline/streamline-ywrapped.svg • vis-text-contour/labels-text.svg • vis-text-contour/minsize.svg • vis-text-contour/placement-fraction.svg • vis-text-contour/placement-minmax-horizontal.svg • vis-text-contour/placement-minmax-vertical.svg • vis-text-contour/placement-n.svg • vis-text-contour/text-contour-norotate.svg Error: Test failures Execution halted Flavor: r-devel-windows-x86_64