Running 'testthat.R' [9s/11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(optimall)
  > 
  > test_check("optimall")
  [ FAIL 4 | WARN 0 | SKIP 1 | PASS 195 ]
  
  == Skipped tests ===============================================================
  * On Linux (1)
  
  == Failed tests ================================================================
  -- Error (test-optimum_allocation.R:44:3): WrightI and WrightII work -----------
  Error in `all.equal.numeric(x, y, tolerance = tolerance, check.attributes = check.attributes, 
      ...)`: length(tolerance) == 1L is not TRUE
  Backtrace:
      x
   1. \-testthat::expect_equal(...) test-optimum_allocation.R:44: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-optimum_allocation.R:83:3): Output agrees whether input is matrix, df, or tibble --
  Error in `all.equal.numeric(x, y, tolerance = tolerance, check.attributes = check.attributes, 
      ...)`: length(tolerance) == 1L is not TRUE
  Backtrace:
      x
   1. \-testthat::expect_equal(...) test-optimum_allocation.R:83: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-optimum_allocation.R:199:3): WrightI and WrightII work ----------
  Error in `all.equal.numeric(x, y, tolerance = tolerance, check.attributes = check.attributes, 
      ...)`: length(tolerance) == 1L is not TRUE
  Backtrace:
      x
   1. \-testthat::expect_equal(...) test-optimum_allocation.R:199: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-optimum_allocation.R:274:3): Output agrees whether input is matrix, df, or tibble --
  Error in `all.equal.numeric(x, y, tolerance = tolerance, check.attributes = check.attributes, 
      ...)`: length(tolerance) == 1L is not TRUE
  Backtrace:
      x
   1. \-testthat::expect_equal(...) test-optimum_allocation.R:274: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 4 | WARN 0 | SKIP 1 | PASS 195 ]
  Error: Test failures
  Execution halted