Last updated on 2021-03-01 04:47:08 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2.0 | OK | ||||
r-devel-linux-x86_64-debian-gcc | 0.2.0 | 1.78 | 21.95 | 23.73 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.2.0 | 45.03 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 36.69 | OK | |||
r-devel-windows-ix86+x86_64 | 0.2.0 | 4.00 | 35.00 | 39.00 | ERROR | |
r-patched-linux-x86_64 | 0.2.0 | 2.13 | 26.65 | 28.78 | OK | |
r-patched-solaris-x86 | 0.2.0 | 54.00 | OK | |||
r-release-linux-x86_64 | 0.2.0 | 2.29 | 26.91 | 29.20 | OK | |
r-release-macos-x86_64 | 0.2.0 | OK | ||||
r-release-windows-ix86+x86_64 | 0.2.0 | 5.00 | 66.00 | 71.00 | OK | |
r-oldrel-macos-x86_64 | 0.2.0 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 0.2.0 | 3.00 | 66.00 | 69.00 | OK |
Version: 0.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rbiorxiv)
>
> test_check("rbiorxiv")
== Failed tests ================================================================
-- Error (test-biorxiv_content.R:4:3): biorxiv_content returns -----------------
Error: lexical error: invalid char in json text.
Error : (2002) Connection refus
(right here) ------^
Backtrace:
x
1. +-testthat::expect_is(...) test-biorxiv_content.R:4:2
2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
3. | \-rlang::eval_bare(expr, quo_get_env(quo))
4. \-rbiorxiv::biorxiv_content(doi = "10.1101/673665")
5. \-rbiorxiv:::query_doi(server = server, doi = doi)
6. \-rbiorxiv:::fetch_content(url = url)
7. \-rbiorxiv:::handle_response(request = request)
8. +-base::unlist(httr::content(request, as = "parsed")$messages)
9. \-httr::content(request, as = "parsed")
10. \-httr:::parse_auto(raw, type, encoding, ...)
11. \-httr:::parser(...)
12. \-jsonlite::fromJSON(...)
13. \-jsonlite:::parse_and_simplify(...)
14. \-jsonlite:::parseJSON(txt, bigint_as_char)
15. \-jsonlite:::parse_string(txt, bigint_as_char)
-- Error (test-biorxiv_published.R:4:3): biorxiv_published returns -------------
Error: lexical error: invalid char in json text.
Error : (2002) Connection refus
(right here) ------^
Backtrace:
x
1. +-testthat::expect_is(...) test-biorxiv_published.R:4:2
2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
3. | \-rlang::eval_bare(expr, quo_get_env(quo))
4. \-rbiorxiv::biorxiv_published(from = "2014-01-01", to = "2014-01-30")
5. \-rbiorxiv:::fetch_content(url = url)
6. \-rbiorxiv:::handle_response(request = request)
7. +-base::unlist(httr::content(request, as = "parsed")$messages)
8. \-httr::content(request, as = "parsed")
9. \-httr:::parse_auto(raw, type, encoding, ...)
10. \-httr:::parser(...)
11. \-jsonlite::fromJSON(...)
12. \-jsonlite:::parse_and_simplify(...)
13. \-jsonlite:::parseJSON(txt, bigint_as_char)
14. \-jsonlite:::parse_string(txt, bigint_as_char)
-- Error (test-biorxiv_publisher.R:4:3): biorxiv_publisher returns -------------
Error: lexical error: invalid char in json text.
Error : (2002) Connection refus
(right here) ------^
Backtrace:
x
1. +-testthat::expect_is(...) test-biorxiv_publisher.R:4:2
2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
3. | \-rlang::eval_bare(expr, quo_get_env(quo))
4. \-rbiorxiv::biorxiv_publisher(...)
5. \-rbiorxiv:::fetch_content(url = url)
6. \-rbiorxiv:::handle_response(request = request)
7. +-base::unlist(httr::content(request, as = "parsed")$messages)
8. \-httr::content(request, as = "parsed")
9. \-httr:::parse_auto(raw, type, encoding, ...)
10. \-httr:::parser(...)
11. \-jsonlite::fromJSON(...)
12. \-jsonlite:::parse_and_simplify(...)
13. \-jsonlite:::parseJSON(txt, bigint_as_char)
14. \-jsonlite:::parse_string(txt, bigint_as_char)
-- Error (test-biorxiv_summary.R:4:3): biorxiv_summary returns -----------------
Error: lexical error: invalid char in json text.
Error : (2002) Connection refus
(right here) ------^
Backtrace:
x
1. +-testthat::expect_is(biorxiv_summary(), "list") test-biorxiv_summary.R:4:2
2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
3. | \-rlang::eval_bare(expr, quo_get_env(quo))
4. \-rbiorxiv::biorxiv_summary()
5. \-rbiorxiv:::fetch_content(url = url)
6. \-rbiorxiv:::handle_response(request = request)
7. +-base::unlist(httr::content(request, as = "parsed")$messages)
8. \-httr::content(request, as = "parsed")
9. \-httr:::parse_auto(raw, type, encoding, ...)
10. \-httr:::parser(...)
11. \-jsonlite::fromJSON(...)
12. \-jsonlite:::parse_and_simplify(...)
13. \-jsonlite:::parseJSON(txt, bigint_as_char)
14. \-jsonlite:::parse_string(txt, bigint_as_char)
-- Error (test-biorxiv_usage.R:4:3): biorxiv_usage returns ---------------------
Error: lexical error: invalid char in json text.
Error : (2002) Connection refus
(right here) ------^
Backtrace:
x
1. +-testthat::expect_is(biorxiv_usage(), "list") test-biorxiv_usage.R:4:2
2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
3. | \-rlang::eval_bare(expr, quo_get_env(quo))
4. \-rbiorxiv::biorxiv_usage()
5. \-rbiorxiv:::fetch_content(url = url)
6. \-rbiorxiv:::handle_response(request = request)
7. +-base::unlist(httr::content(request, as = "parsed")$messages)
8. \-httr::content(request, as = "parsed")
9. \-httr:::parse_auto(raw, type, encoding, ...)
10. \-httr:::parser(...)
11. \-jsonlite::fromJSON(...)
12. \-jsonlite:::parse_and_simplify(...)
13. \-jsonlite:::parseJSON(txt, bigint_as_char)
14. \-jsonlite:::parse_string(txt, bigint_as_char)
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 46 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-ix86+x86_64