Running ‘testthat.R’ [49s/87s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidyhydat)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(lubridate)
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  > 
  > test_check("tidyhydat")
  [ FAIL 2 | WARN 0 | SKIP 20 | PASS 198 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (20)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_hy_sed_samples.R:58'): hy_sed_samples respects Date specification ──
  Error in ``>=.POSIXt`(min(temp_df$Date), as.Date(date_vector[1]))`: object 'check_tzones' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_true(min(temp_df$Date) >= as.Date(date_vector[1])) at test_hy_sed_samples.R:58:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─lubridate (local) `>=.POSIXt`(min(temp_df$Date), as.Date(date_vector[1]))
  ── Error ('test_hy_sed_samples_psd.R:41'): hy_sed_samples_psd respects Date specification ──
  Error in ``>=.POSIXt`(min(temp_df$Date), as.Date(date_vector[1]))`: object 'check_tzones' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_true(min(temp_df$Date) >= as.Date(date_vector[1])) at test_hy_sed_samples_psd.R:41:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─lubridate (local) `>=.POSIXt`(min(temp_df$Date), as.Date(date_vector[1]))
  
  [ FAIL 2 | WARN 0 | SKIP 20 | PASS 198 ]
  Error: Test failures
  Execution halted