Running ‘testthat.R’ [8s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(MazamaRollUtils)
  > 
  > test_check("MazamaRollUtils")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 560 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-na_rm.R:33:3'): na removal is supported ──────────────────────
  roll_median(x, 3, na.rm = TRUE) not equal to c(NA, 2, 3, 4, NA, 6, 7, 8, 9, NA).
  3/10 mismatches (average diff: 1)
  [4]  3 -  4 == -1
  [5]  6 - NA == NA
  [6] NA -  6 == NA
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 560 ]
  Error: Test failures
  Execution halted