Running 'testthat.R' [175s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(kiwisR)
  > 
  > test_check("kiwisR")
  -- ERROR (test_ki_group_list.R:7:3): ki_group_list returns a tibble with three c
  Error: argument of length 0
  Backtrace:
      x
   1. \-kiwisR::ki_group_list(hub = example_hub) test_ki_group_list.R:7:2
   2.   \-tibble::as_tibble(json_content[2:nrow(json_content), ], .name_repair = "minimal")
  
  -- ERROR (test_ki_station_list.R:15:3): ki_station_list should return a tibble -
  Error: incorrect number of dimensions
  Backtrace:
      x
   1. \-kiwisR::ki_station_list(hub = example_hub) test_ki_station_list.R:15:2
  
  -- Skip (test_ki_station_list.R:21:3): ki_station_list accepts search_term filte
  Reason: Example KiWIS server offline.
  
  -- ERROR (test_ki_station_list.R:40:3): ki_station_list accepts bbox filter (vec
  Error: object of type 'closure' is not subsettable
  Backtrace:
      x
   1. \-kiwisR::ki_station_list(hub = example_hub, bounding_box = stn_bbox_str) test_ki_station_list.R:40:2
   2.   \-kiwisR:::check_ki_response(raw)
  
  -- ERROR (test_ki_station_list.R:53:3): ki_station_list accepts group_id filter 
  Error: object of type 'closure' is not subsettable
  Backtrace:
      x
   1. \-kiwisR::ki_station_list(hub = example_hub, group_id = test_group_id) test_ki_station_list.R:53:2
   2.   \-kiwisR:::check_ki_response(raw)
  
  -- ERROR (test_ki_station_list.R:66:3): ki_station_list accepts custom return fi
  Error: incorrect number of dimensions
  Backtrace:
      x
   1. \-kiwisR::ki_station_list(hub = example_hub, return_fields = cust_ret_str) test_ki_station_list.R:66:2
  
  -- ERROR (test_ki_timeseries_list.R:31:3): ki_timeseries_list accepts station_id
  Error: argument is of length zero
  Backtrace:
      x
   1. \-kiwisR::ki_timeseries_list(hub = example_hub, station_id = test_stn_id) test_ki_timeseries_list.R:31:2
  
  -- ERROR (test_ki_timeseries_list.R:40:3): ki_timeseries_list accepts ts_name fo
  Error: argument is of length zero
  Backtrace:
      x
   1. \-kiwisR::ki_timeseries_list(hub = example_hub, ts_name = "Vel*") test_ki_timeseries_list.R:40:2
  
  -- ERROR (test_ki_timeseries_list.R:49:3): ki_timeseries_list accepts group_id f
  Error: argument is of length zero
  Backtrace:
      x
   1. \-kiwisR::ki_timeseries_list(hub = example_hub, group_id = test_ts_group_id) test_ki_timeseries_list.R:49:2
  
  -- ERROR (test_ki_timeseries_list.R:58:3): ki_timeseries_list returns coverage c
  Error: argument is of length zero
  Backtrace:
      x
   1. \-kiwisR::ki_timeseries_list(hub = example_hub, station_id = test_stn_id) test_ki_timeseries_list.R:58:2
  
  -- ERROR (test_ki_timeseries_list.R:69:3): ki_timeseries_list allows for turning
  Error: argument is of length zero
  Backtrace:
      x
   1. \-kiwisR::ki_timeseries_list(...) test_ki_timeseries_list.R:69:2
  
  -- ERROR (test_ki_timeseries_list.R:85:3): ki_timeseries_list allows for custom 
  Error: argument is of length zero
  Backtrace:
      x
   1. \-kiwisR::ki_timeseries_list(...) test_ki_timeseries_list.R:85:2
  
  -- ERROR (test_ki_timeseries_values.R:51:3): ki_timeseries_values returns table 
  Error: Error logging into WDPConnector with given username and password or data was empty.
  Backtrace:
      x
   1. \-kiwisR::ki_timeseries_values(...) test_ki_timeseries_values.R:51:2
  
  -- ERROR (test_ki_timeseries_values.R:64:3): ki_timeseries_values can take a vec
  Error: Error logging into WDPConnector with given username and password or data was empty.
  Backtrace:
      x
   1. \-kiwisR::ki_timeseries_values(...) test_ki_timeseries_values.R:64:2
  
  -- ERROR (test_ki_timeseries_values.R:82:3): ki_timeseries_values returns three 
  Error: Error logging into WDPConnector with given username and password or data was empty.
  Backtrace:
      x
   1. \-kiwisR::ki_timeseries_values(...) test_ki_timeseries_values.R:82:2
  
  -- ERROR (test_ki_timeseries_values.R:104:3): ki_timeseries_values accepts custo
  Error: Error logging into WDPConnector with given username and password or data was empty.
  Backtrace:
      x
   1. \-kiwisR::ki_timeseries_values(...) test_ki_timeseries_values.R:104:2
  
  -- Skipped tests  --------------------------------------------------------------
  * Example KiWIS server offline. (1)
  
  == testthat results  ===========================================================
  ERROR (test_ki_group_list.R:7:3): ki_group_list returns a tibble with three columns
  ERROR (test_ki_station_list.R:15:3): ki_station_list should return a tibble
  ERROR (test_ki_station_list.R:40:3): ki_station_list accepts bbox filter (vector or character)
  ERROR (test_ki_station_list.R:53:3): ki_station_list accepts group_id filter
  ERROR (test_ki_station_list.R:66:3): ki_station_list accepts custom return fields (vector or string)
  ERROR (test_ki_timeseries_list.R:31:3): ki_timeseries_list accepts station_id for retrieving metadata
  ERROR (test_ki_timeseries_list.R:40:3): ki_timeseries_list accepts ts_name for retrieving metadata
  ERROR (test_ki_timeseries_list.R:49:3): ki_timeseries_list accepts group_id for retrieving metadata
  ERROR (test_ki_timeseries_list.R:58:3): ki_timeseries_list returns coverage columns by default
  ERROR (test_ki_timeseries_list.R:69:3): ki_timeseries_list allows for turning coverage off increase query speed
  ERROR (test_ki_timeseries_list.R:85:3): ki_timeseries_list allows for custom return fields (vector or string)
  ERROR (test_ki_timeseries_values.R:51:3): ki_timeseries_values returns table with data
  ERROR (test_ki_timeseries_values.R:64:3): ki_timeseries_values can take a vector of ts_ids and return list of tables
  ERROR (test_ki_timeseries_values.R:82:3): ki_timeseries_values returns three columns (two static) by default
  ERROR (test_ki_timeseries_values.R:104:3): ki_timeseries_values accepts custom return fields (vector or string)
  
  [ FAIL 15 | WARN 0 | SKIP 1 | PASS 24 ]
  Error: Test failures
  Execution halted