Running 'testthat.R' [5s/5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(arkhe)
  > 
  > test_check("arkhe")
  -- 1. Error: matrix > AbundanceMatrix (@test-coerce.R#20)  ---------------------
  <Matrix> instance initialization:
  * 'data' must not contain missing values (10 detected).
  Backtrace:
    1. testthat::expect_s4_class(as_abundance(mtx_incid), "AbundanceMatrix")
    5. arkhe::as_abundance(mtx_incid)
    6. methods::as(from, "AbundanceMatrix")
    7. arkhe:::asMethod(object)
    8. arkhe::.AbundanceMatrix(freq, totals = totals, id = generate_uuid())
    9. methods::new(...)
   11. arkhe:::initialize(value, ...)
   12. arkhe:::.local(.Object, ...)
   14. methods:::.nextMethod(.Object = .Object, ... = ..., id = id)
   15. methods:::initMatrix(.Object, ...)
   16. methods::validObject(.Object)
   19. arkhe:::validityMethod(as(object, superClass))
   20. arkhe:::check_class(object, errors)
   21. arkhe:::throw_error("arkhe_error_class", err, call = NULL)
  
  -- 2. Error: data.frame <> AbundanceMatrix (@test-coerce.R#61)  ----------------
  <Matrix> instance initialization:
  * 'data' must not contain missing values (10 detected).
  Backtrace:
    1. testthat::expect_s4_class(as_abundance(df_incid), "AbundanceMatrix")
    5. arkhe::as_abundance(df_incid)
    6. methods::as(from, "AbundanceMatrix")
    7. arkhe:::asMethod(object)
    8. arkhe::.AbundanceMatrix(freq, totals = totals, id = generate_uuid())
    9. methods::new(...)
   11. arkhe:::initialize(value, ...)
   12. arkhe:::.local(.Object, ...)
   14. methods:::.nextMethod(.Object = .Object, ... = ..., id = id)
   15. methods:::initMatrix(.Object, ...)
   16. methods::validObject(.Object)
   19. arkhe:::validityMethod(as(object, superClass))
   20. arkhe:::check_class(object, errors)
   21. arkhe:::throw_error("arkhe_error_class", err, call = NULL)
  
  -- 3. Error: *Matrix > AbundanceMatrix (@test-coerce.R#107)  -------------------
  <Matrix> instance initialization:
  * 'data' must not contain missing values (10 detected).
  Backtrace:
    1. testthat::expect_s4_class(as_abundance(incid), "AbundanceMatrix")
    5. arkhe::as_abundance(incid)
    6. methods::as(from, "AbundanceMatrix")
    7. arkhe:::asMethod(object)
    8. arkhe::.AbundanceMatrix(freq, totals = totals, id = generate_uuid())
    9. methods::new(...)
   11. arkhe:::initialize(value, ...)
   12. arkhe:::.local(.Object, ...)
   14. methods:::.nextMethod(.Object = .Object, ... = ..., id = id)
   15. methods:::initMatrix(.Object, ...)
   16. methods::validObject(.Object)
   19. arkhe:::validityMethod(as(object, superClass))
   20. arkhe:::check_class(object, errors)
   21. arkhe:::throw_error("arkhe_error_class", err, call = NULL)
  
  == testthat results  ===========================================================
  [ OK: 391 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: matrix > AbundanceMatrix (@test-coerce.R#20) 
  2. Error: data.frame <> AbundanceMatrix (@test-coerce.R#61) 
  3. Error: *Matrix > AbundanceMatrix (@test-coerce.R#107) 
  
  Error: testthat unit tests failed
  In addition: There were 11 warnings (use warnings() to see them)
  Execution halted