Last updated on 2024-07-27 01:53:27 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.9.0 | 5.15 | 52.99 | 58.14 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.9.0 | 4.62 | 40.83 | 45.45 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.9.0 | 74.80 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.9.0 | 69.88 | OK | |||
r-devel-windows-x86_64 | 0.9.0 | 7.00 | 77.00 | 84.00 | OK | |
r-patched-linux-x86_64 | 0.9.0 | OK | ||||
r-release-linux-x86_64 | 0.9.0 | 3.57 | 50.92 | 54.49 | OK | |
r-release-macos-arm64 | 0.9.0 | 51.00 | OK | |||
r-release-macos-x86_64 | 0.9.0 | 79.00 | OK | |||
r-release-windows-x86_64 | 0.9.0 | 6.00 | 77.00 | 83.00 | OK | |
r-oldrel-macos-arm64 | 0.9.0 | 58.00 | OK | |||
r-oldrel-macos-x86_64 | 0.9.0 | 77.00 | OK | |||
r-oldrel-windows-x86_64 | 0.9.0 | 7.00 | 1741.00 | 1748.00 | ERROR |
Version: 0.9.0
Check: examples
Result: ERROR
Running examples in 'valet-Ex.R' failed
The error most likely occurred in:
> ### Name: get_details
> ### Title: Get series or series-group details
> ### Aliases: get_details
>
> ### ** Examples
>
> get_details("CES_C4E_LOSE_JOB_SK")
No encoding supplied: defaulting to UTF-8.
Error: lexical error: invalid char in json text.
<HTML><HEAD> <TITLE>Access Deni
(right here) ------^
Execution halted
Flavor: r-oldrel-windows-x86_64
Version: 0.9.0
Check: tests
Result: ERROR
Running 'testthat.R' [24m]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(valet)
>
> test_check("valet")
No encoding supplied: defaulting to UTF-8.
No encoding supplied: defaulting to UTF-8.
No encoding supplied: defaulting to UTF-8.
No encoding supplied: defaulting to UTF-8.
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 4 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get_details.R:2:3'): get_details returns full series ───────────
Error: lexical error: invalid char in json text.
<HTML><HEAD> <TITLE>Access Deni
(right here) ------^
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-get_details.R:2:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─valet::get_details("LEGACY_NOON_RATES", group = T)
5. └─jsonlite::fromJSON(content(resp, "text"))
6. └─jsonlite:::parse_and_simplify(...)
7. └─jsonlite:::parseJSON(txt, bigint_as_char)
8. └─jsonlite:::parse_string(txt, bigint_as_char)
── Error ('test-get_group.R:2:3'): get_group returns full dataset ──────────────
Error: lexical error: invalid char in json text.
<HTML><HEAD> <TITLE>Access Deni
(right here) ------^
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-get_group.R:2:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::nrow(get_group("LEGACY_NOON_RATES"))
5. └─valet::get_group("LEGACY_NOON_RATES")
6. └─valet::valet(name = name, T, ...)
7. └─jsonlite::fromJSON(content(resp, "text"))
8. └─jsonlite:::parse_and_simplify(...)
9. └─jsonlite:::parseJSON(txt, bigint_as_char)
10. └─jsonlite:::parse_string(txt, bigint_as_char)
── Error ('test-get_list.R:2:3'): get_list returns a tibble ────────────────────
Error in `open.connection(structure(4L, class = c("curl", "connection"), conn_id = <pointer: 0x0000000000000143>),
"rb")`: HTTP error 403.
Backtrace:
▆
1. ├─testthat::expect_s3_class(get_list("series"), class = "tbl") at test-get_list.R:2:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─valet::get_list("series")
5. │ └─readr::read_csv(url, skip = 4, col_types = cols())
6. │ └─vroom::vroom(...)
7. │ └─vroom:::vroom_(...)
8. ├─base (local) `<fn>`(`<curl>`, "rb")
9. └─base::open.connection(`<curl>`, "rb")
── Error ('test-get_list.R:7:3'): get_list returns correct categories ──────────
Error in `open.connection(structure(5L, class = c("curl", "connection"), conn_id = <pointer: 0x0000000000000150>),
"rb")`: HTTP error 403.
Backtrace:
▆
1. ├─testthat::expect_named(...) at test-get_list.R:7:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─valet::get_list("groups")
5. │ └─readr::read_csv(url, skip = 4, col_types = cols())
6. │ └─vroom::vroom(...)
7. │ └─vroom:::vroom_(...)
8. ├─base (local) `<fn>`(`<curl>`, "rb")
9. └─base::open.connection(`<curl>`, "rb")
── Error ('test-get_series.R:2:3'): get_series returns full dataset ────────────
Error: lexical error: invalid char in json text.
<!DOCTYPE html PUBLIC "-//W3C//
(right here) ------^
Backtrace:
▆
1. ├─testthat::expect_equal(nrow(get_series("SWP-R1N1983Q2")), 78) at test-get_series.R:2:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::nrow(get_series("SWP-R1N1983Q2"))
5. └─valet::get_series("SWP-R1N1983Q2")
6. └─valet::valet(...)
7. └─jsonlite::fromJSON(content(resp, "text"))
8. └─jsonlite:::parse_and_simplify(...)
9. └─jsonlite:::parseJSON(txt, bigint_as_char)
10. └─jsonlite:::parse_string(txt, bigint_as_char)
── Error ('test-get_series.R:6:3'): get_series includes date variable ──────────
Error: lexical error: invalid char in json text.
<HTML><HEAD> <TITLE>Access Deni
(right here) ------^
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test-get_series.R:6:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─valet::get_series("CES_C4E_LOSE_JOB_SK")
5. └─valet::valet(...)
6. └─jsonlite::fromJSON(content(resp, "text"))
7. └─jsonlite:::parse_and_simplify(...)
8. └─jsonlite:::parseJSON(txt, bigint_as_char)
9. └─jsonlite:::parse_string(txt, bigint_as_char)
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 4 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64