CRAN Package Check Results for Package badger

Last updated on 2022-05-23 02:53:32 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 5.85 64.49 70.34 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 4.67 48.45 53.12 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 89.48 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.0 79.83 OK
r-devel-windows-x86_64 0.2.0 20.00 84.00 104.00 OK
r-patched-linux-x86_64 0.2.0 6.00 60.68 66.68 OK
r-release-linux-x86_64 0.2.0 6.03 60.98 67.01 ERROR
r-release-macos-arm64 0.2.0 36.00 OK
r-release-macos-x86_64 0.2.0 55.00 OK
r-release-windows-x86_64 0.2.0 17.00 82.00 99.00 ERROR
r-oldrel-macos-arm64 0.2.0 25.00 OK
r-oldrel-macos-x86_64 0.2.0 41.00 OK
r-oldrel-windows-ix86+x86_64 0.2.0 16.00 112.00 128.00 ERROR

Check Details

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(badger)
     >
     > test_check("badger")
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 30 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-badges.R:82:3): Other badges output as expected ───────────────
     badge_altmetric("2788597", "blue") not equal to assembleBadgeOutput(...).
     1/1 mismatches
     x[1]: "[![](https://img.shields.io/badge/Altmetric-29-blue.svg)](https://www.alt
     x[1]: metric.com/details/2788597)"
     y[1]: "[![](https://img.shields.io/badge/Altmetric-30-blue.svg)](https://www.alt
     y[1]: metric.com/details/2788597)"
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 30 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/7s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(badger)
     >
     > test_check("badger")
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 32 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-badges.R:82:3): Other badges output as expected ───────────────
     badge_altmetric("2788597", "blue") not equal to assembleBadgeOutput(...).
     1/1 mismatches
     x[1]: "[![](https://img.shields.io/badge/Altmetric-29-blue.svg)](https://www.alt
     x[1]: metric.com/details/2788597)"
     y[1]: "[![](https://img.shields.io/badge/Altmetric-30-blue.svg)](https://www.alt
     y[1]: metric.com/details/2788597)"
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 32 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64

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(badger)
     >
     > test_check("badger")
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 32 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-badges.R:82:3): Other badges output as expected ───────────────
     badge_altmetric("2788597", "blue") not equal to assembleBadgeOutput(...).
     1/1 mismatches
     x[1]: "[![](https://img.shields.io/badge/Altmetric-29-blue.svg)](https://www.alt
     x[1]: metric.com/details/2788597)"
     y[1]: "[![](https://img.shields.io/badge/Altmetric-30-blue.svg)](https://www.alt
     y[1]: metric.com/details/2788597)"
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 32 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R' [37s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(badger)
     >
     > test_check("badger")
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 13 ]
    
     == Failed tests ================================================================
     -- Failure (test-badges.R:82:3): Other badges output as expected ---------------
     badge_altmetric("2788597", "blue") not equal to assembleBadgeOutput(...).
     1/1 mismatches
     x[1]: "[![](https://img.shields.io/badge/Altmetric-29-blue.svg)](https://www.alt
     x[1]: metric.com/details/2788597)"
     y[1]: "[![](https://img.shields.io/badge/Altmetric-30-blue.svg)](https://www.alt
     y[1]: metric.com/details/2788597)"
     -- Error (test-badges.R:90:3): Other badges output as expected -----------------
     Error in `file(con, "r")`: cannot open the connection
     Backtrace:
     x
     1. +-testthat::expect_equal(...) at test-badges.R:90:2
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-badger::badge_sci_citation(...)
     5. +-base::suppressWarnings(readLines(url))
     6. | \-base::withCallingHandlers(...)
     7. \-base::readLines(url)
     8. \-base::file(con, "r")
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 13 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64