CRAN Package Check Results for Package rromeo

Last updated on 2019-07-22 06:47:48 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 2.76 86.39 89.15 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 2.65 111.63 114.28 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 167.54 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 171.14 OK
r-devel-windows-ix86+x86_64 0.1.0 7.00 200.00 207.00 OK
r-patched-linux-x86_64 0.1.0 3.34 145.23 148.57 OK
r-patched-solaris-x86 0.1.0 226.80 OK
r-release-linux-x86_64 0.1.0 2.53 143.08 145.61 OK
r-release-windows-ix86+x86_64 0.1.0 6.00 144.00 150.00 OK
r-release-osx-x86_64 0.1.0 OK
r-oldrel-windows-ix86+x86_64 0.1.0 6.00 199.00 205.00 OK
r-oldrel-osx-x86_64 0.1.0 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [5s/6s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(rromeo)
     >
     > test_check("rromeo")
     Loading required namespace: jsonlite
     -- 1. Error: rr_journal_name() works (@test-rr_journal_name.R#4) --------------
     Reader error: control characters are not allowed: #80 at 5955
     1: use_cassette("rr_journal_name", {
     res <- rr_journal_name("Journal of Geology")
     expect_is(res, "data.frame")
     expect_named(res, c("title", "issn", "romeocolour", "preprint", "postprint",
     "pdf", "pre_embargo", "post_embargo", "pdf_embargo"))
     expect_equal(res$issn, "0022-1376")
     expect_is(res$romeocolour, "character")
     expect_is(res$preprint, "character")
     }) at testthat/test-rr_journal_name.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: 149 SKIPPED: 1 WARNINGS: 0 FAILED: 1
     1. Error: rr_journal_name() works (@test-rr_journal_name.R#4)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang