Last updated on 2019-05-13 08:53:01 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.6 | 3.36 | 31.47 | 34.83 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.6 | 2.76 | 25.63 | 28.39 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.1.6 | 41.94 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.6 | 41.33 | OK | |||
r-patched-linux-x86_64 | 1.1.6 | 3.77 | 31.62 | 35.39 | OK | |
r-patched-solaris-x86 | 1.1.6 | 63.10 | ERROR | |||
r-release-linux-x86_64 | 1.1.6 | 3.83 | 32.16 | 35.99 | OK | |
r-release-windows-ix86+x86_64 | 1.1.6 | 10.00 | 70.00 | 80.00 | OK | |
r-release-osx-x86_64 | 1.1.6 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 1.1.6 | 21.00 | 79.00 | 100.00 | OK | |
r-oldrel-osx-x86_64 | 1.1.6 | OK |
Version: 1.1.6
Check: examples
Result: ERROR
Running examples in ‘sbtools-Ex.R’ failed
The error most likely occurred in:
> ### Name: item_get
> ### Title: Retrieve SB item
> ### Aliases: item_get
>
> ### ** Examples
>
> # Get an item
> item_get("4f4e4b24e4b07f02db6aea14")
Error: GET failed to https://www.sciencebase.gov/catalog/item/4f4e4b24e4b07f02db6aea14. check authorization and/or content
Execution halted
Flavor: r-patched-solaris-x86
Version: 1.1.6
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check('sbtools')
Loading required package: sbtools
── 1. Failure: generic post fails w/o auth (@test-REST.R#5) ───────────────────
`item_append_files("54e265a4e4b08de9379b4dfb", "/foo/bar/baz.zip")` threw an error with unexpected message.
Expected match: "Item not found for"
Actual message: "GET failed to https://www.sciencebase.gov/catalog/item/54e265a4e4b08de9379b4dfb. check authorization and/or content"
── 2. Failure: generic post fails w/o auth (@test-REST.R#10) ──────────────────
`item_append_files(...)` threw an error with unexpected message.
Expected match: "Item not found for"
Actual message: "GET failed to https://www.sciencebase.gov/catalog/item/54e265a4e4b08de9379b4dfb. check authorization and/or content"
── 3. Failure: generic post fails w/o auth (@test-REST.R#14) ──────────────────
`item_append_files("54e265a4e4b08de9379b4dfb", files, session = session)` threw an error with unexpected message.
Expected match: "Item not found for"
Actual message: "GET failed to https://www.sciencebase.gov/catalog/item/54e265a4e4b08de9379b4dfb. check authorization and/or content"
── 4. Error: generic get w/ and w/o auth (@test-REST.R#29) ────────────────────
GET failed to https://www.sciencebase.gov/catalog/item/4f4e4a62e4b07f02db636b68. check authorization and/or content
1: expect_is(item_get(public_item, session = NULL), "sbitem") at testthat/test-REST.R:29
2: quasi_label(enquo(object), label, arg = "object")
3: eval_bare(get_expr(quo), get_env(quo))
4: item_get(public_item, session = NULL)
5: get_item(as.sbitem(sb_id)$id, ..., session = session)
6: sbtools_GET(url = paste0(pkg.env$url_item, id), ..., query = list(type = "json"),
session = session)
7: GET(url = url, ..., httrUserAgent(), handle = session)
8: handle_url(handle, url, ...)
9: paste0(pkg.env$url_item, id)
10: as.sbitem(sb_id)
11: as.sbitem.character(sb_id)
12: get_item(x, ...)
13: sbtools_GET(url = paste0(pkg.env$url_item, id), ..., query = list(type = "json"),
session = session)
14: handle_errors(r, url, "GET", supported_types)
15: stop(method, " failed to ", url, ". check authorization and/or content", call. = FALSE)
══ testthat results ═══════════════════════════════════════════════════════════
OK: 8 SKIPPED: 3 WARNINGS: 2 FAILED: 4
1. Failure: generic post fails w/o auth (@test-REST.R#5)
2. Failure: generic post fails w/o auth (@test-REST.R#10)
3. Failure: generic post fails w/o auth (@test-REST.R#14)
4. Error: generic get w/ and w/o auth (@test-REST.R#29)
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-solaris-x86