Running ‘testthat.R’ [2s/103s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(kiwisR)
  > 
  > test_check("kiwisR")
  ── 1. Error: ki_group_list returns a tibble with three columns (@test_ki_group_l
  argument of length 0
  1: ki_group_list(hub = example_hub) at testthat/test_ki_group_list.R:7
  2: tibble::as_tibble(json_content[2:nrow(json_content), ], .name_repair = "minimal")
  
  ── 2. Error: ki_station_list should return a tibble (@test_ki_station_list.R#15)
  incorrect number of dimensions
  1: ki_station_list(hub = example_hub) at testthat/test_ki_station_list.R:15
  
  ── 3. Error: ki_station_list accepts search_term filters (@test_ki_station_list.
  incorrect number of dimensions
  1: ki_station_list(hub = example_hub, search_term = "A*") at testthat/test_ki_station_list.R:23
  
  ── 4. Error: ki_station_list accepts bbox filter (vector or character) (@test_ki
  incorrect number of dimensions
  1: ki_station_list(hub = example_hub, bounding_box = stn_bbox_str) at testthat/test_ki_station_list.R:40
  
  ── 5. Error: ki_station_list accepts group_id filter (@test_ki_station_list.R#53
  incorrect number of dimensions
  1: ki_station_list(hub = example_hub, group_id = test_group_id) at testthat/test_ki_station_list.R:53
  
  ── 6. Error: ki_station_list accepts custom return fields (vector or string) (@t
  incorrect number of dimensions
  1: ki_station_list(hub = example_hub, return_fields = cust_ret_str) at testthat/test_ki_station_list.R:66
  
  ── 7. Error: ki_timeseries_list accepts station_id for retrieving metadata (@tes
  argument is of length zero
  1: ki_timeseries_list(hub = example_hub, station_id = test_stn_id) at testthat/test_ki_timeseries_list.R:28
  
  ── 8. Error: ki_timeseries_list accepts ts_name for retrieving metadata (@test_k
  argument is of length zero
  1: ki_timeseries_list(hub = example_hub, ts_name = "Vel*") at testthat/test_ki_timeseries_list.R:37
  
  ── 9. Error: ki_timeseries_list accepts group_id for retrieving metadata (@test_
  argument is of length zero
  1: ki_timeseries_list(hub = example_hub, group_id = test_ts_group_id) at testthat/test_ki_timeseries_list.R:46
  
  ── 10. Error: ki_timeseries_list returns coverage columns by default (@test_ki_t
  argument is of length zero
  1: ki_timeseries_list(hub = example_hub, ts_name = "A*") at testthat/test_ki_timeseries_list.R:55
  
  ── 11. Error: ki_timeseries_list allows for turning coverage off increase query 
  argument is of length zero
  1: ki_timeseries_list(hub = example_hub, ts_name = "A*", coverage = FALSE) at testthat/test_ki_timeseries_list.R:66
  
  ── 12. Error: ki_timeseries_list allows for custom return fields (vector or stri
  argument is of length zero
  1: ki_timeseries_list(hub = example_hub, ts_name = "A*", return_fields = cust_ret_str) at testthat/test_ki_timeseries_list.R:82
  
  ── 13. Error: ki_timeseries_values returns table with data (@test_ki_timeseries_
  Error logging into WDPConnector with given username and password or data was empty.
  1: ki_timeseries_values(hub = example_hub, ts_id = test_ts_ids[[1]], start_date = "2015-12-01", 
         end_date = "2018-01-01") at testthat/test_ki_timeseries_values.R:45
  2: stop(json_content$message)
  
  ── 14. Error: ki_timeseries_values can take a vector of ts_ids and return list o
  Error logging into WDPConnector with given username and password or data was empty.
  1: ki_timeseries_values(hub = example_hub, ts_id = test_ts_ids, start_date = "2015-12-01", 
         end_date = "2018-01-01") at testthat/test_ki_timeseries_values.R:58
  2: stop(json_content$message)
  
  ── 15. Error: ki_timeseries_values returns three columns (two static) by default
  Error logging into WDPConnector with given username and password or data was empty.
  1: ki_timeseries_values(hub = example_hub, ts_id = test_ts_ids[[1]], start_date = "2015-12-01", 
         end_date = "2018-01-01") at testthat/test_ki_timeseries_values.R:76
  2: stop(json_content$message)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 24 SKIPPED: 0 WARNINGS: 0 FAILED: 15
  1. Error: ki_group_list returns a tibble with three columns (@test_ki_group_list.R#7) 
  2. Error: ki_station_list should return a tibble (@test_ki_station_list.R#15) 
  3. Error: ki_station_list accepts search_term filters (@test_ki_station_list.R#23) 
  4. Error: ki_station_list accepts bbox filter (vector or character) (@test_ki_station_list.R#40) 
  5. Error: ki_station_list accepts group_id filter (@test_ki_station_list.R#53) 
  6. Error: ki_station_list accepts custom return fields (vector or string) (@test_ki_station_list.R#66) 
  7. Error: ki_timeseries_list accepts station_id for retrieving metadata (@test_ki_timeseries_list.R#28) 
  8. Error: ki_timeseries_list accepts ts_name for retrieving metadata (@test_ki_timeseries_list.R#37) 
  9. Error: ki_timeseries_list accepts group_id for retrieving metadata (@test_ki_timeseries_list.R#46) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted