Running ‘testthat.R’ [0m/16m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(kiwisR)
  > 
  > test_check("kiwisR")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_ki_timeseries_list.R:31:3): ki_timeseries_list accepts station_id for retrieving metadata ──
  <notSubsettableError/error/condition>
  Error: object of type 'closure' is not subsettable
  Backtrace:
      █
   1. └─kiwisR::ki_timeseries_list(hub = example_hub, station_id = test_stn_id) test_ki_timeseries_list.R:31:2
   2.   └─kiwisR:::check_ki_response(raw)
   3.     └─base::stop("Query returned error: ", raw$message)
   4.       └─base::.makeMessage(..., domain = domain)
   5.         └─base::lapply(list(...), as.character)
  ── Error (test_ki_timeseries_list.R:40:3): ki_timeseries_list accepts ts_name for retrieving metadata ──
  <notSubsettableError/error/condition>
  Error: object of type 'closure' is not subsettable
  Backtrace:
      █
   1. └─kiwisR::ki_timeseries_list(hub = example_hub, ts_name = "Vel*") test_ki_timeseries_list.R:40:2
   2.   └─kiwisR:::check_ki_response(raw)
   3.     └─base::stop("Query returned error: ", raw$message)
   4.       └─base::.makeMessage(..., domain = domain)
   5.         └─base::lapply(list(...), as.character)
  ── Error (test_ki_timeseries_list.R:49:3): ki_timeseries_list accepts group_id for retrieving metadata ──
  <notSubsettableError/error/condition>
  Error: object of type 'closure' is not subsettable
  Backtrace:
      █
   1. └─kiwisR::ki_timeseries_list(hub = example_hub, group_id = test_ts_group_id) test_ki_timeseries_list.R:49:2
   2.   └─kiwisR:::check_ki_response(raw)
   3.     └─base::stop("Query returned error: ", raw$message)
   4.       └─base::.makeMessage(..., domain = domain)
   5.         └─base::lapply(list(...), as.character)
  ── Error (test_ki_timeseries_list.R:58:3): ki_timeseries_list returns coverage columns by default ──
  <notSubsettableError/error/condition>
  Error: object of type 'closure' is not subsettable
  Backtrace:
      █
   1. └─kiwisR::ki_timeseries_list(hub = example_hub, station_id = test_stn_id) test_ki_timeseries_list.R:58:2
   2.   └─kiwisR:::check_ki_response(raw)
   3.     └─base::stop("Query returned error: ", raw$message)
   4.       └─base::.makeMessage(..., domain = domain)
   5.         └─base::lapply(list(...), as.character)
  ── Error (test_ki_timeseries_list.R:85:3): ki_timeseries_list allows for custom return fields (vector or string) ──
  <notSubsettableError/error/condition>
  Error: object of type 'closure' is not subsettable
  Backtrace:
      █
   1. └─kiwisR::ki_timeseries_list(...) test_ki_timeseries_list.R:85:2
   2.   └─kiwisR:::check_ki_response(raw)
   3.     └─base::stop("Query returned error: ", raw$message)
   4.       └─base::.makeMessage(..., domain = domain)
   5.         └─base::lapply(list(...), as.character)
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 47 ]
  Error: Test failures
  Execution halted