CRAN Package Check Results for Package rplos

Last updated on 2019-03-19 07:47:20 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.4 6.13 68.22 74.35 ERROR
r-devel-linux-x86_64-debian-gcc 0.8.4 5.56 52.23 57.79 OK
r-devel-linux-x86_64-fedora-clang 0.8.4 88.78 OK
r-devel-linux-x86_64-fedora-gcc 0.8.4 83.28 OK
r-devel-windows-ix86+x86_64 0.8.4 19.00 123.00 142.00 OK
r-patched-linux-x86_64 0.8.4 4.53 63.13 67.66 OK
r-patched-solaris-x86 0.8.4 124.00 OK
r-release-linux-x86_64 0.8.4 3.34 61.99 65.33 OK
r-release-windows-ix86+x86_64 0.8.4 9.00 115.00 124.00 OK
r-release-osx-x86_64 0.8.4 OK
r-oldrel-windows-ix86+x86_64 0.8.4 14.00 112.00 126.00 OK
r-oldrel-osx-x86_64 0.8.4 OK

Check Details

Version: 0.8.4
Check: tests
Result: ERROR
     Running 'test-all.R' [18s/20s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library("testthat")
     > test_check("rplos")
     Loading required package: rplos
     -- 1. Error: plosfigtabcaps returns the correct dimenion result (@test-plosfigta
     Reader error: control characters are not allowed: #80 at 2083
     1: vcr::use_cassette("plosfigtabcaps", {
     dat <- plosfigtabcaps(q = "ecology", fl = "figure_table_caption", limit = 10)
     expect_that(NROW(dat$data), equals(10))
     expect_that(length(names(dat$data)), equals(1))
     expect_that(names(dat$data), equals("figure_table_caption"))
     expect_that(names(plosfigtabcaps(q = "ecology", fl = "id", limit = 10)$data),
     equals("id"))
     expect_is(dat, "list")
     expect_is(dat$meta, "data.frame")
     expect_is(dat$data, "data.frame")
     }) at testthat/test-plosfigtabcaps.R:5
     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: 114 SKIPPED: 7 FAILED: 1
     1. Error: plosfigtabcaps returns the correct dimenion result (@test-plosfigtabcaps.R#5)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang