CRAN Package Check Results for Package strvalidator

Last updated on 2021-12-03 22:57:57 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.3.0 55.54 332.01 387.55 OK
r-devel-linux-x86_64-debian-gcc 2.3.0 48.72 236.10 284.82 ERROR
r-devel-linux-x86_64-fedora-clang 2.3.0 478.04 OK
r-devel-linux-x86_64-fedora-gcc 2.3.0 451.45 OK
r-devel-windows-x86_64-new-UL 2.3.0 88.00 354.00 442.00 OK
r-devel-windows-x86_64-new-TK 2.3.0 OK
r-devel-windows-x86_64-old 2.3.0 83.00 271.00 354.00 OK
r-patched-linux-x86_64 2.3.0 52.21 315.19 367.40 OK
r-release-linux-x86_64 2.3.0 54.95 316.14 371.09 OK
r-release-macos-arm64 2.3.0 OK
r-release-macos-x86_64 2.3.0 OK
r-release-windows-ix86+x86_64 2.3.0 91.00 346.00 437.00 OK
r-oldrel-macos-x86_64 2.3.0 OK
r-oldrel-windows-ix86+x86_64 2.3.0 89.00 340.00 429.00 OK

Check Details

Version: 2.3.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [48s/72s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > ################################################################################
     > # TODO LIST
     > # TODO: Add test for calculateResultType and other functions.
     >
     > ################################################################################
     > # CHANGE LOG
     > # 24.12.2014: Second try, update to thestthat 0.8.1
     > # 05.12.2013: Updated to thestthat 0.8
     >
     >
     > # Load testthat package.
     > library(testthat)
     >
     > # Run all tests.
     > test_check(package = "strvalidator")
     Loading required package: strvalidator
     STR-validator 2.3.0 loaded!
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-calculateLb.r:1088:3): calculateLb ──────────────────────────────
     Error in `unique(Dye)`: object 'Dye' not found
     Backtrace:
     █
     1. ├─strvalidator::calculateLb(...) test-calculateLb.r:1088:2
     2. │ ├─...[]
     3. │ └─data.table:::`[.data.table`(...)
     4. └─base::unique(Dye)
     ── Failure (test-filterProfile.r:140:3): filterProfile ─────────────────────────
     `x` not equal to `expected`.
     1/1 mismatches
     [1] 4 - 6 == -2
     Backtrace:
     █
     1. └─testthat::expect_that(ncol(res), equals(6)) test-filterProfile.r:140:2
     2. └─testthat:::condition(object)
     3. └─testthat::expect_equal(x, expected, ..., expected.label = label)
     ── Failure (test-filterProfile.r:173:3): filterProfile ─────────────────────────
     `x` not equal to `expected`.
     1/1 mismatches
     [1] 4 - 6 == -2
     Backtrace:
     █
     1. └─testthat::expect_that(ncol(res), equals(6)) test-filterProfile.r:173:2
     2. └─testthat:::condition(object)
     3. └─testthat::expect_equal(x, expected, ..., expected.label = label)
     ── Failure (test-filterProfile.r:206:3): filterProfile ─────────────────────────
     `x` not equal to `expected`.
     1/1 mismatches
     [1] 4 - 6 == -2
     Backtrace:
     █
     1. └─testthat::expect_that(ncol(res), equals(6)) test-filterProfile.r:206:2
     2. └─testthat:::condition(object)
     3. └─testthat::expect_equal(x, expected, ..., expected.label = label)
    
     [ FAIL 4 | WARN 16 | SKIP 0 | PASS 5472 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc