Running ‘testthat.R’ [48s/54s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(metR)
  > # library(vdiffr)
  > 
  > test_check("metR")
  ── Skip (test-GetSMNData.R:4:5): hourly works ──────────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-GetSMNData.R:17:5): daily works ──────────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-GetSMNData.R:31:5): radiation works ──────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-GetTopography.R:6:5): GetTopography gets topography ──────────────
  Reason: On CRAN
  
  ── Skip (test-ReadNetCDF.R:56:5): can read from urls ───────────────────────────
  Reason: On CRAN
  
  ── 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 
  
  ── Skip (test-vis-arrow.R:10:5): arrow guide works ─────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-arrow.R:11:5): arrow guide works ─────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-arrow.R:13:5): arrow guide works ─────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-arrow.R:14:5): arrow guide works ─────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-arrow.R:15:5): arrow guide works ─────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-arrow.R:16:5): arrow guide works ─────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-arrow.R:25:6): arrow guide works ─────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-contour2.R:10:5): geom_contour2 mimics geom_contour ──────────
  Skipping on CRAN
  
  ── Skip (test-vis-contour2.R:16:5): geom_contour2 mimics geom_contour ──────────
  Skipping on CRAN
  
  ── Skip (test-vis-contour2.R:24:9): accepts function in breaks ─────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-contour2.R:33:5): global.breaks work ─────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-contour2.R:40:5): global.breaks work ─────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-contour_fill.R:8:5): geom_contour_fill works ─────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-contour_fill.R:13:5): geom_contour_fill works ────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-contour_fill.R:26:5): interpolation ──────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-contour_fill.R:32:5): interpolation ──────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-contour_fill.R:41:5): interpolation ──────────────────────────
  Skipping on CRAN
  
  ── Warning (test-vis-streamline.R:18:5): Streamline works ──────────────────────
  performing only 1 integration step, please consider increasing the resolution
  
  ── Skip (test-vis-streamline.R:18:5): Streamline works ─────────────────────────
  Skipping on CRAN
  
  ── Warning (test-vis-streamline.R:19:5): Streamline works ──────────────────────
  performing only 1 integration step, please consider increasing the resolution
  
  ── Skip (test-vis-streamline.R:19:5): Streamline works ─────────────────────────
  Skipping on CRAN
  
  ── Skip (test-vis-streamline.R:24:5): Streamline wraps in x amd y ──────────────
  Skipping on CRAN
  
  ── Skip (test-vis-streamline.R:30:5): Streamline wraps in x amd y ──────────────
  Skipping on CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (5)
  ● Skipping on CRAN (21)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test-derivate.R:50:5): Works with unequal grid
  Warning (test-vis-streamline.R:18:5): Streamline works
  Warning (test-vis-streamline.R:19:5): Streamline works
  
  [ FAIL 1 | WARN 2 | SKIP 26 | PASS 129 ]
  Error: Test failures
  Execution halted