Running 'testthat.R' [83s]
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")
  -- 1. Error: realtime_network_meta returns a data frame (@test_realtime_network.
  Timeout was reached: [dd.weather.gc.ca] Resolving timed out after 10000 milliseconds
  Backtrace:
    1. testthat::expect_silent(realtime_stations(prov_terr_state_loc = "BC"))
    9. tidyhydat::realtime_stations(prov_terr_state_loc = "BC")
   10. httr::GET(realtime_link, httr::user_agent("https://github.com/ropensci/tidyhydat"))
   11. httr:::request_perform(req, hu$handle$handle)
   13. httr:::request_fetch.write_memory(req$output, req$url, handle)
   14. curl::curl_fetch_memory(url, handle = handle)
  
  -- 2. Error: throw an error when plotting a lake level station with Flow specifi
  Timeout was reached: [dd.weather.gc.ca] Resolving timed out after 10000 milliseconds
  Backtrace:
   1. tidyhydat::realtime_dd("08KH011")
   2. base::lapply(station_number, single_realtime_station)
   3. tidyhydat:::FUN(X[[i]], ...)
   4. httr::GET(infile[1], httr::user_agent("https://github.com/ropensci/tidyhydat"))
   5. httr:::request_perform(req, hu$handle$handle)
   7. httr:::request_fetch.write_memory(req$output, req$url, handle)
   8. curl::curl_fetch_memory(url, handle = handle)
  
  -- 3. Error: search_stn_number returns a dataframe (@test_search.R#5)  ---------
  Timeout was reached: [dd.weather.gc.ca] Resolving timed out after 10000 milliseconds
  Backtrace:
    1. testthat::expect_is(...)
    4. tidyhydat::search_stn_number("08HF", hydat_path = hy_test_db())
    8. tidyhydat::realtime_stations()
    9. httr::GET(realtime_link, httr::user_agent("https://github.com/ropensci/tidyhydat"))
   10. httr:::request_perform(req, hu$handle$handle)
   12. httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. curl::curl_fetch_memory(url, handle = handle)
  
  == testthat results  ===========================================================
  [ OK: 199 | SKIPPED: 17 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: realtime_network_meta returns a data frame (@test_realtime_network.R#5) 
  2. Error: throw an error when plotting a lake level station with Flow specified (@test_realtime_plot.R#28) 
  3. Error: search_stn_number returns a dataframe (@test_search.R#5) 
  
  Error: testthat unit tests failed
  Execution halted