CRAN Package Check Results for Package sbtools

Last updated on 2019-04-23 06:49:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.6 3.14 30.48 33.62 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.6 2.73 25.02 27.75 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.6 41.92 ERROR
r-devel-linux-x86_64-fedora-gcc 1.1.6 39.66 ERROR
r-devel-windows-ix86+x86_64 1.1.6 9.00 61.00 70.00 OK
r-patched-linux-x86_64 1.1.6 3.69 31.24 34.93 ERROR
r-patched-solaris-x86 1.1.6 58.30 ERROR
r-release-linux-x86_64 1.1.6 2.00 29.62 31.62 ERROR
r-release-windows-ix86+x86_64 1.1.6 6.00 79.00 85.00 ERROR
r-release-osx-x86_64 1.1.6 OK
r-oldrel-windows-ix86+x86_64 1.1.6 5.00 76.00 81.00 OK
r-oldrel-osx-x86_64 1.1.6 NOTE

Check Details

Version: 1.1.6
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: 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
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.1.6
Check: tests
Result: ERROR
     Running 'testthat.R' [1s/12s]
    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)
     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: 10 SKIPPED: 3 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

Version: 1.1.6
Check: tests
Result: ERROR
     Running ‘testthat.R’ [1s/12s]
    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)
     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: 10 SKIPPED: 3 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
Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-windows-ix86+x86_64

Version: 1.1.6
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/16s]
    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)
     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: 10 SKIPPED: 3 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

Version: 1.1.6
Check: tests
Result: ERROR
     Running 'testthat.R' [12s]
    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)
     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: 10 SKIPPED: 3 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-release-windows-ix86+x86_64

Version: 1.1.6
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘rgdal’
Flavor: r-oldrel-osx-x86_64