Last updated on 2020-08-19 01:50:15 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.11 | 4.43 | 35.10 | 39.53 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.1.11 | 3.27 | 28.53 | 31.80 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.1.11 | 58.15 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.11 | 26.30 | OK | |||
r-devel-windows-ix86+x86_64 | 1.1.11 | 12.00 | 83.00 | 95.00 | OK | |
r-patched-linux-x86_64 | 1.1.11 | 4.40 | 35.47 | 39.87 | OK | |
r-patched-solaris-x86 | 1.1.11 | 75.90 | OK | |||
r-release-linux-x86_64 | 1.1.11 | 3.95 | 35.17 | 39.12 | OK | |
r-release-macos-x86_64 | 1.1.11 | OK | ||||
r-release-windows-ix86+x86_64 | 1.1.11 | 12.00 | 71.00 | 83.00 | OK | |
r-oldrel-macos-x86_64 | 1.1.11 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 1.1.11 | 7.00 | 90.00 | 97.00 | OK |
Version: 1.1.11
Check: examples
Result: ERROR
Running examples in 'sbtools-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: query_sb_datatype
> ### Title: Query SB for specific data type
> ### Aliases: query_sb_datatype
>
> ### ** Examples
>
> #query for items with WFS Layer data
> query_sb_datatype('Static Map Image')
Error: GET failed to https://www.sciencebase.gov/catalog/items/. check authorization and/or content
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.1.11
Check: tests
Result: ERROR
Running 'testthat.R' [3s/13s]
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"
Backtrace:
1. testthat::expect_error(...)
6. sbtools::item_append_files("54e265a4e4b08de9379b4dfb", "/foo/bar/baz.zip")
8. sbtools:::as.sbitem.character(sb_id)
9. sbtools:::get_item(x, ...)
10. sbtools::sbtools_GET(...)
11. sbtools:::handle_errors(r, url, "GET", supported_types)
-- 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"
Backtrace:
1. testthat::expect_error(...)
6. sbtools::item_append_files(...)
8. sbtools:::as.sbitem.character(sb_id)
9. sbtools:::get_item(x, ...)
10. sbtools::sbtools_GET(...)
11. sbtools:::handle_errors(r, url, "GET", supported_types)
-- 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"
Backtrace:
1. testthat::expect_error(...)
6. sbtools::item_append_files(...)
8. sbtools:::as.sbitem.character(sb_id)
9. sbtools:::get_item(x, ...)
10. sbtools::sbtools_GET(...)
11. sbtools:::handle_errors(r, url, "GET", supported_types)
-- 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
Backtrace:
1. testthat::expect_is(item_get(public_item, session = NULL), "sbitem")
4. sbtools::item_get(public_item, session = NULL)
5. sbtools:::get_item(as.sbitem(sb_id)$id, ..., session = session)
6. sbtools::sbtools_GET(...)
7. base::tryCatch(...)
8. base:::tryCatchList(expr, classes, parentenv, handlers)
9. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. value[[3L]](cond)
== 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-devel-linux-x86_64-debian-clang