Running 'testthat.R' [29s/37s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("lfstat")
  Loading required package: lfstat
  Loading required package: xts
  Loading required package: zoo
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  Loading required package: lmom
  Loading required package: lattice
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 134 ]
  
  == Skipped tests ===============================================================
  * empty test (3)
  
  == Failed tests ================================================================
  -- Error (test-baseflow.R:24:3): base flow gets computed correctly -------------
  Error in `abs(object - expected) < tolerance || (is.na(object) & is.na(expected))`: 'length = 1096' in coercion to 'logical(1)'
  Backtrace:
      x
   1. \-lfstat:::expect_equal2(...) at test-baseflow.R:24:2
   2.   \-testthat::expect_true(...) at test-baseflow.R:19:2
   3.     \-testthat::quasi_label(enquo(object), label, arg = "object")
   4.       \-rlang::eval_bare(expr, quo_get_env(quo))
  
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 134 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [21s/33s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("lfstat")
  Loading required package: lfstat
  Loading required package: xts
  Loading required package: zoo
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  Loading required package: lmom
  Loading required package: lattice
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 134 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-baseflow.R:24:3): base flow gets computed correctly ─────────────
  Error in `abs(object - expected) < tolerance || (is.na(object) & is.na(expected))`: 'length = 1096' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. └─lfstat:::expect_equal2(...) at test-baseflow.R:24:2
   2.   └─testthat::expect_true(...) at test-baseflow.R:19:2
   3.     └─testthat::quasi_label(enquo(object), label, arg = "object")
   4.       └─rlang::eval_bare(expr, quo_get_env(quo))
  
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 134 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [35s/99s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("lfstat")
  Loading required package: lfstat
  Loading required package: xts
  Loading required package: zoo
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  Loading required package: lmom
  Loading required package: lattice
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 134 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-baseflow.R:24:3): base flow gets computed correctly ─────────────
  Error in `abs(object - expected) < tolerance || (is.na(object) & is.na(expected))`: 'length = 1096' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. └─lfstat:::expect_equal2(...) at test-baseflow.R:24:2
   2.   └─testthat::expect_true(...) at test-baseflow.R:19:2
   3.     └─testthat::quasi_label(enquo(object), label, arg = "object")
   4.       └─rlang::eval_bare(expr, quo_get_env(quo))
  
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 134 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [33s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("lfstat")
  Loading required package: lfstat
  Loading required package: xts
  Loading required package: zoo
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  Loading required package: lmom
  Loading required package: lattice
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 134 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-baseflow.R:24:3): base flow gets computed correctly ─────────────
  Error in `abs(object - expected) < tolerance || (is.na(object) & is.na(expected))`: 'length = 1096' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. └─lfstat:::expect_equal2(...) at test-baseflow.R:24:2
   2.   └─testthat::expect_true(...) at test-baseflow.R:19:2
   3.     └─testthat::quasi_label(enquo(object), label, arg = "object")
   4.       └─rlang::eval_bare(expr, quo_get_env(quo))
  
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 134 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [36s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("lfstat")
  Loading required package: lfstat
  Loading required package: xts
  Loading required package: zoo
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  Loading required package: lmom
  Loading required package: lattice
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 134 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • empty test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-baseflow.R:24:3): base flow gets computed correctly ─────────────
  Error in `abs(object - expected) < tolerance || (is.na(object) & is.na(expected))`: 'length = 1096' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. └─lfstat:::expect_equal2(...) at test-baseflow.R:24:2
   2.   └─testthat::expect_true(...) at test-baseflow.R:19:2
   3.     └─testthat::quasi_label(enquo(object), label, arg = "object")
   4.       └─rlang::eval_bare(expr, quo_get_env(quo))
  
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 134 ]
  Error: Test failures
  Execution halted