Running ‘testthat.R’ [6s/48s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(kiwisR)
  > 
  > test_check("kiwisR")
  ── 1. 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
  
  ── 2. 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
  
  ── 3. 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
  
  ── 4. Error: ki_timeseries_list returns coverage columns by default (@test_ki_ti
  argument is of length zero
  1: ki_timeseries_list(hub = example_hub, ts_name = "A*") at testthat/test_ki_timeseries_list.R:55
  
  ── 5. Error: ki_timeseries_list allows for custom return fields (vector or strin
  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
  
  ── 6. Error: ki_timeseries_values returns table with data (@test_ki_timeseries_v
  Error getting tsdata from WDP.
  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)
  
  ── 7. Error: ki_timeseries_values can take a vector of ts_ids and return list of
  Error getting tsdata from WDP.
  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)
  
  ── 8. Error: ki_timeseries_values returns three columns (two static) by default 
  Error getting tsdata from WDP.
  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: 39 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 8 ]
  1. Error: ki_timeseries_list accepts station_id for retrieving metadata (@test_ki_timeseries_list.R#28) 
  2. Error: ki_timeseries_list accepts ts_name for retrieving metadata (@test_ki_timeseries_list.R#37) 
  3. Error: ki_timeseries_list accepts group_id for retrieving metadata (@test_ki_timeseries_list.R#46) 
  4. Error: ki_timeseries_list returns coverage columns by default (@test_ki_timeseries_list.R#55) 
  5. Error: ki_timeseries_list allows for custom return fields (vector or string) (@test_ki_timeseries_list.R#82) 
  6. Error: ki_timeseries_values returns table with data (@test_ki_timeseries_values.R#45) 
  7. Error: ki_timeseries_values can take a vector of ts_ids and return list of tables (@test_ki_timeseries_values.R#58) 
  8. Error: ki_timeseries_values returns three columns (two static) by default (@test_ki_timeseries_values.R#76) 
  
  Error: testthat unit tests failed
  Execution halted