Running ‘testthat.R’ [5s/133s]
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
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 2. Error: ki_station_list should return a tibble (@test_ki_station_list.R#13)
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 3. Error: ki_station_list accepts search_term filters (@test_ki_station_list.
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 4. Error: ki_station_list accepts bbox filter (vector or character) (@test_ki
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 5. Error: ki_station_list accepts group_id filter (@test_ki_station_list.R#50
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 6. Error: ki_station_list accepts custom return fields (vector or string) (@t
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 7. Error: ki_timeseries_list throws error when no hub specified (@test_ki_tim
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 8. Error: ki_timeseries_list throws error if provided hub in not reachable (@
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 9. Error: ki_timeseries_list throws error when no station_id, group_id or ts_
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 10. Error: ki_timeseries_list accepts station_id for retrieving metadata (@te
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 11. Error: ki_timeseries_list accepts ts_name for retrieving metadata (@test_
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 12. Error: ki_timeseries_list accepts group_id for retrieving metadata (@test
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 13. Error: ki_timeseries_list returns coverage columns by default (@test_ki_t
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 14. Error: ki_timeseries_list allows for turning coverage off increase query 
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 15. Error: ki_timeseries_list allows for custom return fields (vector or stri
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 16. Error: ki_timeseries_values throws error when no hub specified (@test_ki_
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 17. Error: ki_timeseries_values throws error if provided hub in not reachable
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 18. Error: ki_timeseries_values throws error when no ts_id specified (@test_k
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 19. Error: ki_timeseries_values returns error if ts_id doesn't exist (@test_k
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 20. Error: ki_timeseries_values returns error if no data for specified dates 
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 21. Error: ki_timeseries_values returns table with data (@test_ki_timeseries_
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 22. Error: ki_timeseries_values can take a vector of ts_ids and return list o
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 23. Error: ki_timeseries_values returns three columns (two static) by default
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ── 24. Error: ki_timeseries_values accepts custom return fields (vector or strin
  is.response(x) is not TRUE
  Backtrace:
   1. kiwisR:::skip_if_exp_down()
   2. kiwisR:::exp_live(exp_hub = exp) /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/kiwisR.Rcheck/tests/helper-kiwisR.R:29:2
   3. httr::content(z)
   4. base::stopifnot(is.response(x))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 12 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 24 ]
  1. Error: ki_group_list returns a tibble with three columns (@test_ki_group_list.R#5) 
  2. Error: ki_station_list should return a tibble (@test_ki_station_list.R#13) 
  3. Error: ki_station_list accepts search_term filters (@test_ki_station_list.R#21) 
  4. Error: ki_station_list accepts bbox filter (vector or character) (@test_ki_station_list.R#36) 
  5. Error: ki_station_list accepts group_id filter (@test_ki_station_list.R#50) 
  6. Error: ki_station_list accepts custom return fields (vector or string) (@test_ki_station_list.R#59) 
  7. Error: ki_timeseries_list throws error when no hub specified (@test_ki_timeseries_list.R#5) 
  8. Error: ki_timeseries_list throws error if provided hub in not reachable (@test_ki_timeseries_list.R#12) 
  9. Error: ki_timeseries_list throws error when no station_id, group_id or ts_name provided (@test_ki_timeseries_list.R#19) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted