Running 'testthat.R' [3s/4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(Bioi)
  > 
  > test_check("Bioi")
  -- 1. Error: outputs are valid (@test.euclidean_linker.R#30)  ------------------
  assert_that: length of assertion is not 1
  Backtrace:
   1. testthat::expect_true(...)
   4. Bioi::euclidean_linker(input, crit_dist)
   5. assertthat::assert_that(class(input) == "matrix")
   6. assertthat::see_if(..., env = env, msg = msg)
   7. assertthat:::check_result(res)
  
  -- 2. Error: outputs are valid (@test.euclidean_linker_cpp.R#7)  ---------------
  assert_that: length of assertion is not 1
  Backtrace:
   1. testthat::expect_true(...)
   4. Bioi::euclidean_linker(input, crit_dist)
   5. assertthat::assert_that(class(input) == "matrix")
   6. assertthat::see_if(..., env = env, msg = msg)
   7. assertthat:::check_result(res)
  
  -- 3. Error: outputs are valid (@test.find_blobs.R#30)  ------------------------
  assert_that: length of assertion is not 1
  Backtrace:
   1. testthat::expect_equal(...)
   4. Bioi::find_blobs(logical_mat)
   5. Bioi::euclidean_linker(...)
   6. assertthat::assert_that(class(input) == "matrix")
   7. assertthat::see_if(..., env = env, msg = msg)
   8. assertthat:::check_result(res)
  
  -- 4. Error: outputs are valid (@test.find_min_dists.R#54)  --------------------
  assert_that: length of assertion is not 1
  Backtrace:
   1. testthat::expect_equal(...)
   4. Bioi::find_min_dists(mOne, mTwo)
   5. assertthat::assert_that(class(mOne) == "matrix")
   6. assertthat::see_if(..., env = env, msg = msg)
   7. assertthat:::check_result(res)
  
  -- 5. Error: outputs are valid (@test.find_min_dists_cpp.R#7)  -----------------
  assert_that: length of assertion is not 1
  Backtrace:
   1. testthat::expect_equal(...)
   4. Bioi::find_min_dists(mOne, mTwo)
   5. assertthat::assert_that(class(mOne) == "matrix")
   6. assertthat::see_if(..., env = env, msg = msg)
   7. assertthat:::check_result(res)
  
  -- 6. Error: outputs are valid (@test.identify_thresholded_objects.R#31)  ------
  assert_that: length of assertion is not 1
  Backtrace:
   1. testthat::expect_equal(...)
   4. Bioi::identify_thresholded_objects(mat)
   5. assertthat::assert_that(class(img) == "matrix")
   6. assertthat::see_if(..., env = env, msg = msg)
   7. assertthat:::check_result(res)
  
  -- 7. Error: use of pixRange causes no problems (@test.identify_thresholded_obje
  assert_that: length of assertion is not 1
  Backtrace:
   1. testthat::expect_equal(...)
   4. Bioi::identify_thresholded_objects(mat, 51)
   5. assertthat::assert_that(class(img) == "matrix")
   6. assertthat::see_if(..., env = env, msg = msg)
   7. assertthat:::check_result(res)
  
  == testthat results  ===========================================================
  [ OK: 12 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: outputs are valid (@test.euclidean_linker.R#30) 
  2. Error: outputs are valid (@test.euclidean_linker_cpp.R#7) 
  3. Error: outputs are valid (@test.find_blobs.R#30) 
  4. Error: outputs are valid (@test.find_min_dists.R#54) 
  5. Error: outputs are valid (@test.find_min_dists_cpp.R#7) 
  6. Error: outputs are valid (@test.identify_thresholded_objects.R#31) 
  7. Error: use of pixRange causes no problems (@test.identify_thresholded_objects.R#50) 
  
  Error: testthat unit tests failed
  Execution halted