CRAN Package Check Results for Package rcrossref

Last updated on 2019-04-21 21:49:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.0 6.58 140.42 147.00 ERROR
r-devel-linux-x86_64-debian-gcc 0.9.0 5.80 114.78 120.58 OK
r-devel-linux-x86_64-fedora-clang 0.9.0 193.28 OK
r-devel-linux-x86_64-fedora-gcc 0.9.0 174.36 OK
r-devel-windows-ix86+x86_64 0.9.0 25.00 159.00 184.00 OK
r-patched-linux-x86_64 0.9.0 7.59 149.11 156.70 OK
r-patched-solaris-x86 0.9.0 249.20 OK
r-release-linux-x86_64 0.9.0 4.83 148.71 153.54 OK
r-release-windows-ix86+x86_64 0.9.0 12.00 169.00 181.00 OK
r-release-osx-x86_64 0.9.0 OK
r-oldrel-windows-ix86+x86_64 0.9.0 15.00 224.00 239.00 OK
r-oldrel-osx-x86_64 0.9.0 OK

Check Details

Version: 0.9.0
Check: tests
Result: ERROR
     Running 'test-all.R' [91s/95s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library("testthat")
     > test_check("rcrossref")
     Loading required package: rcrossref
     -- 1. Error: cr_cn works with different URLs (@test-cr_cn.R#72) ---------------
     Reader error: control characters are not allowed: #80 at 2685
     1: vcr::use_cassette("cr_cn_different_base_urls", {
     expect_match(cr_cn("10.1126/science.169.3946.635", "text", url = "https://data.datacite.org"),
     "Frank")
     expect_match(cr_cn("10.1126/science.169.3946.635", "text", url = "http://dx.doi.org"),
     "Frank")
     expect_match(cr_cn("10.5284/1011335", url = "https://citation.crosscite.org/format"),
     "Archaeology")
     }) at testthat/test-cr_cn.R:72
     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: 274 SKIPPED: 3 FAILED: 1
     1. Error: cr_cn works with different URLs (@test-cr_cn.R#72)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang