CRAN Package Check Results for Package rbison

Last updated on 2019-03-14 00:46:52 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.0 5.78 58.82 64.60 ERROR
r-devel-linux-x86_64-debian-gcc 0.7.0 4.85 46.97 51.82 OK
r-devel-linux-x86_64-fedora-clang 0.7.0 78.74 OK
r-devel-linux-x86_64-fedora-gcc 0.7.0 73.54 OK
r-devel-windows-ix86+x86_64 0.7.0 14.00 105.00 119.00 OK
r-patched-linux-x86_64 0.7.0 4.42 55.86 60.28 OK
r-patched-solaris-x86 0.7.0 115.60 OK
r-release-linux-x86_64 OK
r-release-windows-ix86+x86_64 0.7.0 12.00 97.00 109.00 OK
r-release-osx-x86_64 0.7.0 OK
r-oldrel-windows-ix86+x86_64 0.7.0 11.00 71.00 82.00 OK
r-oldrel-osx-x86_64 0.7.0 OK

Check Details

Version: 0.7.0
Check: tests
Result: ERROR
     Running 'test-all.R' [11s/11s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library("testthat")
     > test_check("rbison")
     Loading required package: rbison
     Loading required namespace: jsonlite
     -- 1. Error: bison returns the correct value (@test-bison.R#4) ----------------
     Reader error: control characters are not allowed: #83 at 42841
     1: vcr::use_cassette("bison", {
     out1 <- bison(species = "Bison bison", count = 5)
     out2 <- bison(species = "Canis latrans", type = "scientific_name", count = 5)
     expect_that(out1$points$name[1], equals("Bison bison"))
     expect_that(out2$points$name[1], equals("Canis latrans"))
     expect_that(out1, is_a("bison"))
     expect_that(out2, is_a("bison"))
     expect_is(out1$summary, "list")
     expect_is(out1$points, "data.frame")
     }) at testthat/test-bison.R:4
     2: insert_cassette(name, record = record, match_requests_on = match_requests_on, update_content_length_header = update_content_length_header,
     allow_playback_repeats = allow_playback_repeats, serialize_with = serialize_with,
     persist_with = persist_with, preserve_exact_body_bytes = preserve_exact_body_bytes)
     3: Cassette$new(name = name, record = record, match_requests_on = match_requests_on,
     re_record_interval = NULL, tag = NULL, tags = NULL, update_content_length_header = update_content_length_header,
     decode_compressed_response = NULL, allow_playback_repeats = allow_playback_repeats,
     allow_unused_http_interactions = NULL, exclusive = NULL, serialize_with = serialize_with,
     persist_with = persist_with, preserve_exact_body_bytes = preserve_exact_body_bytes)
     4: .subset2(public_bind_env, "initialize")(...)
     5: self$http_interactions()
     6: HTTPInteractionList$new(interactions = {
     if (self$should_stub_requests()) {
     self$previously_recorded_interactions()
     }
     else {
     list()
     }
     }, request_matchers = vcr_configuration()$match_requests_on)
     7: .subset2(public_bind_env, "initialize")(...)
     8: self$previously_recorded_interactions()
     9: compact(lapply(self$deserialized_hash()[["http_interactions"]], function(z) {
     response <- VcrResponse$new(z$response$status, z$response$headers, z$response$body$string,
     self$cassette_opts)
     if (self$update_content_length_header)
     response$update_content_length_header()
     zz <- HTTPInteraction$new(request = Request$new(z$request$method, z$request$uri,
     z$request$body$string, z$request$headers), response = response)
     hash <- zz$to_hash()
     if (request_ignorer$should_be_ignored(hash$request))
     NULL
     else hash
     }))
     10: Filter(Negate(is.null), x)
     11: unlist(lapply(x, f))
     12: lapply(x, f)
     13: lapply(self$deserialized_hash()[["http_interactions"]], function(z) {
     response <- VcrResponse$new(z$response$status, z$response$headers, z$response$body$string,
     self$cassette_opts)
     if (self$update_content_length_header)
     response$update_content_length_header()
     zz <- HTTPInteraction$new(request = Request$new(z$request$method, z$request$uri,
     z$request$body$string, z$request$headers), response = response)
     hash <- zz$to_hash()
     if (request_ignorer$should_be_ignored(hash$request))
     NULL
     else hash
     })
     14: self$deserialized_hash()
     15: self$serializer$deserialize_path()
     16: yaml::yaml.load(str)
    
     == testthat results ===========================================================
     OK: 20 SKIPPED: 4 FAILED: 1
     1. Error: bison returns the correct value (@test-bison.R#4)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang