Running 'testthat.R' [38s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(seqgendiff)
  > 
  > test_check("seqgendiff")
  -- 1. Error: general thinning works (@test_genthin.R#22)  ----------------------
  .onLoad failed in loadNamespace() for 'S4Vectors', details:
    call: validObject(.Object)
    error: invalid class "LLint" object: superclass "integer_OR_LLint" not defined in the environment of the object's class
  Backtrace:
    1. seqgendiff::thin_diff(...)
    2. seqgendiff:::est_sv(...)
    8. sva::sva
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   14. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   17. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   22. base::loadNamespace(...)
   24. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   25. base:::runHook(".onLoad", env, package.lib, package)
  
  -- 2. Error: length of corvec and nfac are 0 (@test_group_assign.R#13)  --------
  .onLoad failed in loadNamespace() for 'S4Vectors', details:
    call: validObject(.Object)
    error: invalid class "LLint" object: superclass "integer_OR_LLint" not defined in the environment of the object's class
  Backtrace:
    1. testthat::expect_message(...)
    6. seqgendiff::corassign(mat = Y, corvec = c(0.2, 0.2, 0.2))
    7. cate::est.factor.num
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   13. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   15. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   18. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   23. base::loadNamespace(...)
   25. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   26. base:::runHook(".onLoad", env, package.lib, package)
  
  == testthat results  ===========================================================
  [ OK: 52 | SKIPPED: 4 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: general thinning works (@test_genthin.R#22) 
  2. Error: length of corvec and nfac are 0 (@test_group_assign.R#13) 
  
  Error: testthat unit tests failed
  Execution halted