Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(atable)
  > 
  > test_check("atable")
  -- 1. Error: (unknown) (@test_alias.R#3)  --------------------------------------
  package or namespace load failed for 'Hmisc' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
   there is no package called 'stringi'
  Backtrace:
   1. base::library(Hmisc)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 2. Error: (unknown) (@test_atable.R#129)  -----------------------------------
  there is no package called 'stringi'
  Backtrace:
    1. base::lapply(the_arg_list, do.call, what = "atable")
    4. atable:::atable.data.frame(...)
    5. atable:::atable_splitted_grouped(...)
    6. atable:::arrange_statistics_and_tests(...)
    7. reshape2::dcast
    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]])
   16. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   17. base:::withOneRestart(expr, restarts[[1L]])
   18. base:::doWithOneRestart(return(expr), restart)
  
  -- 3. Error: statistics applies modified function (@test_modify_atable.R#15)  --
  there is no package called 'stringi'
  Backtrace:
    1. atable::atable(DD, target_cols = "Numeric")
    2. atable:::atable.data.frame(DD, target_cols = "Numeric")
    3. atable:::atable_unsplitted_ungrouped(...)
    4. atable:::arrange_statistics(...)
    5. atable:::arrange_helper(...)
    7. atable:::translate_to_LaTeX.data.frame(tab)
    9. atable:::translate_to_LaTeX.character(rownames(DD))
   10. Hmisc::latexTranslate
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   17. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   20. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   22. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   23. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   24. base:::withOneRestart(expr, restarts[[1L]])
   25. base:::doWithOneRestart(return(expr), restart)
  
  == testthat results  ===========================================================
  [ OK: 17 | SKIPPED: 0 | WARNINGS: 25 | FAILED: 3 ]
  1. Error: (unknown) (@test_alias.R#3) 
  2. Error: (unknown) (@test_atable.R#129) 
  3. Error: statistics applies modified function (@test_modify_atable.R#15) 
  
  Error: testthat unit tests failed
  Execution halted