Running ‘testthat.R’ [57s/76s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(metR)
  > # library(vdiffr)
  > 
  > test_check("metR")
  [ FAIL 1 | WARN 0 | SKIP 23 | PASS 178 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (23)
  
  ══ 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 test_derv(y, fill = TRUE) at test-derivate.R:50:4
   2.   └─testthat::expect_true(sd(dx_num - dx, na.rm = TRUE) < 1e-04) at test-derivate.R:15:4
  
  [ FAIL 1 | WARN 0 | SKIP 23 | PASS 178 ]
  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