CRAN Package Check Results for Package kiwisR

Last updated on 2020-05-28 07:47:59 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.8 2.38 28.83 31.21 OK
r-devel-linux-x86_64-debian-gcc 0.1.8 1.76 22.47 24.23 OK
r-devel-linux-x86_64-fedora-clang 0.1.8 36.63 OK
r-devel-linux-x86_64-fedora-gcc 0.1.8 35.50 OK
r-devel-windows-ix86+x86_64 0.1.8 9.00 88.00 97.00 OK
r-patched-linux-x86_64 0.1.8 2.34 28.50 30.84 ERROR
r-patched-solaris-x86 0.1.8 47.90 ERROR
r-release-linux-x86_64 0.1.8 2.48 28.30 30.78 OK
r-release-osx-x86_64 0.1.8 OK
r-release-windows-ix86+x86_64 0.1.8 9.00 107.00 116.00 OK
r-oldrel-osx-x86_64 0.1.8 OK
r-oldrel-windows-ix86+x86_64 0.1.8 4.00 223.00 227.00 OK

Check Details

Version: 0.1.8
Check: tests
Result: ERROR
     Running ‘testthat.R’ [0m/15m]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(kiwisR)
     >
     > test_check("kiwisR")
     ── 1. Error: ki_timeseries_list accepts group_id for retrieving metadata (@test_
     object of type 'closure' is not subsettable
     Backtrace:
     1. kiwisR::ki_timeseries_list(hub = example_hub, group_id = test_ts_group_id)
     2. kiwisR:::check_ki_response(raw)
    
     ── 2. Error: ki_timeseries_list returns coverage columns by default (@test_ki_ti
     object of type 'closure' is not subsettable
     Backtrace:
     1. kiwisR::ki_timeseries_list(hub = example_hub, station_id = test_stn_id)
     2. kiwisR:::check_ki_response(raw)
    
     ── 3. Error: ki_timeseries_list allows for custom return fields (vector or strin
     object of type 'closure' is not subsettable
     Backtrace:
     1. kiwisR::ki_timeseries_list(...)
     2. kiwisR:::check_ki_response(raw)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 49 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
     1. Error: ki_timeseries_list accepts group_id for retrieving metadata (@test_ki_timeseries_list.R#49)
     2. Error: ki_timeseries_list returns coverage columns by default (@test_ki_timeseries_list.R#58)
     3. Error: ki_timeseries_list allows for custom return fields (vector or string) (@test_ki_timeseries_list.R#85)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.1.8
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/261s]
    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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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/ripley/R/packages/tests32/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
Flavor: r-patched-solaris-x86