Running ‘testthat.R’ [63s/63s]
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