Last updated on 2023-09-22 05:53:42 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.2.3 | 4.94 | 32.39 | 37.33 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.3.0 | 3.38 | 24.63 | 28.01 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.3.0 | 64.31 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.3.0 | 62.60 | OK | |||
r-devel-windows-x86_64 | 1.3.0 | 15.00 | 59.00 | 74.00 | OK | |
r-patched-linux-x86_64 | 1.2.3 | 5.32 | 31.65 | 36.97 | ERROR | |
r-release-linux-x86_64 | 1.2.3 | 4.83 | 31.52 | 36.35 | ERROR | |
r-release-macos-arm64 | 1.2.3 | 31.00 | OK | |||
r-release-macos-x86_64 | 1.3.0 | 75.00 | OK | |||
r-release-windows-x86_64 | 1.3.0 | 10.00 | 63.00 | 73.00 | OK | |
r-oldrel-macos-arm64 | 1.2.3 | 32.00 | OK | |||
r-oldrel-macos-x86_64 | 1.2.3 | 35.00 | OK | |||
r-oldrel-windows-x86_64 | 1.3.0 | 10.00 | 56.00 | 66.00 | OK |
Version: 1.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(jqr)
>
> test_check("jqr")
[ FAIL 2 | WARN 0 | SKIP 1 | PASS 123 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-dsl.R:52:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dsl.R:206:3'): recurse ─────────────────────────────────────────
Error: jq: error: recurse_down/0 is not defined at <top-level>, line 1:
recurse_down
Backtrace:
▆
1. ├─testthat::expect_is("{\"a\":0, \"b\":[1]}" %>% recurse, "jqson") at test-dsl.R:206:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─"{\"a\":0, \"b\":[1]}" %>% recurse
5. ├─jqr (local) `<fn>`()
6. │ └─base::do.call("return", alist(.jq_exitfun(returnValue())), envir = env)
7. └─jqr (local) .jq_exitfun(returnValue())
8. ├─jqr::jq(j)
9. └─jqr:::jq.jqr(j)
10. ├─jqr:::jqr(x$data, make_query(x), flags = flags)
11. └─jqr:::jqr.default(x$data, make_query(x), flags = flags)
12. └─jqr::jqr_new(query, flags = flags)
── Failure ('test-spec.R:127:3'): NA handling ──────────────────────────────────
`jq(NA_character_)` threw an error with unexpected message.
Expected match: "!is.na\\(json\\) is not TRUE"
Actual message: "jq: error: Top-level program not given (try \".\")"
Backtrace:
▆
1. ├─testthat::expect_error(jq(NA_character_), "!is.na\\(json\\) is not TRUE") at test-spec.R:127:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─jqr::jq(NA_character_)
7. └─jqr:::jq.character(NA_character_)
8. ├─base::structure(jqr(x, query, flags), class = c("jqson", "character"))
9. ├─jqr:::jqr(x, query, flags)
10. └─jqr:::jqr.default(x, query, flags)
11. └─jqr::jqr_new(query, flags = flags)
[ FAIL 2 | WARN 0 | SKIP 1 | PASS 123 ]
Error: Test failures
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64, r-release-linux-x86_64