CRAN Package Check Results for Package MetricsWeighted

Last updated on 2022-01-22 06:48:58 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.3 2.09 41.88 43.97 OK
r-devel-linux-x86_64-debian-gcc 0.5.3 2.31 31.92 34.23 OK
r-devel-linux-x86_64-fedora-clang 0.5.3 55.01 OK
r-devel-linux-x86_64-fedora-gcc 0.5.3 45.75 ERROR
r-devel-windows-x86_64-new-UL 0.5.3 231.00 64.00 295.00 OK
r-devel-windows-x86_64-new-TK 0.5.3 OK
r-patched-linux-x86_64 0.5.3 3.20 39.45 42.65 OK
r-release-linux-x86_64 0.5.3 2.43 39.09 41.52 OK
r-release-macos-arm64 0.5.3 OK
r-release-macos-x86_64 0.5.3 OK
r-release-windows-ix86+x86_64 0.5.3 6.00 63.00 69.00 OK
r-oldrel-macos-x86_64 0.5.3 OK
r-oldrel-windows-ix86+x86_64 0.5.3 6.00 59.00 65.00 OK

Check Details

Version: 0.5.3
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(MetricsWeighted)
     >
     > test_check("MetricsWeighted")
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 152 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-rsquared.R:28:3): R-squared with weight 1 gives same as unweighted ──
     Error in `all.equal.numeric(x, y, tolerance = tolerance, check.attributes = check.attributes,
     ...)`: length(tolerance) == 1L is not TRUE
     Backtrace:
     █
     1. └─testthat::expect_equal(...) test-rsquared.R:28:2
     2. ├─testthat::compare(act$val, exp$val, ...)
     3. └─testthat:::compare.numeric(act$val, exp$val, ...)
     4. ├─base::all.equal(...)
     5. └─base::all.equal.numeric(...)
     6. └─base::stopifnot(length(tolerance) == 1L)
     ── Error (test-rsquared.R:43:3): R-squared with weight 2 gives same as weight 1 ──
     Error in `all.equal.numeric(x, y, tolerance = tolerance, check.attributes = check.attributes,
     ...)`: length(tolerance) == 1L is not TRUE
     Backtrace:
     █
     1. └─testthat::expect_equal(...) test-rsquared.R:43:2
     2. ├─testthat::compare(act$val, exp$val, ...)
     3. └─testthat:::compare.numeric(act$val, exp$val, ...)
     4. ├─base::all.equal(...)
     5. └─base::all.equal.numeric(...)
     6. └─base::stopifnot(length(tolerance) == 1L)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 152 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc