Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(epikit)
  > 
  > test_check("epikit")
  -- 1. Error: extra columns are left alone (@test-age-categories.R#169)  --------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    4. epikit::group_age_categories(df, years = years, months = months)
    5. dplyr::pull
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: years alone give years (@test-age-categories.R#179)  --------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epikit::group_age_categories(df, years = years, one_column = FALSE)
   2. dplyr::pull
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: months alone give months (@test-age-categories.R#184)  ------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epikit::group_age_categories(df, months = months, one_column = FALSE)
   2. dplyr::pull
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 4. Error: days alone give days (@test-age-categories.R#189)  ----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epikit::group_age_categories(df, days = days, one_column = FALSE)
   2. dplyr::pull
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 5. Error: levels are combined (@test-age-categories.R#194)  -----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epikit::group_age_categories(...)
   2. dplyr::pull
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 6. Error: fmt_count() works as expected (@test-inline_fun.R#65)  ------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_identical(...)
    4. epikit::fmt_count(iris, Species == "virginica")
    5. dplyr::filter
    6. base::getExportedValue(pkg, name)
    7. base::asNamespace(ns)
    8. base::getNamespace(ns)
    9. base::loadNamespace(name)
   10. base::library.dynam(lib, package, package.lib)
  
  -- 7. Error: case_fatality_rate_df is equivalent to the non-df version (@test-pr
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epikit::case_fatality_rate_df(iris, Sepal.Width < 3)
   2. dplyr::summarise
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 8. Error: case_fatality_rate_df will do stratified analysis (@test-proportion
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epikit::case_fatality_rate_df(iris, Sepal.Width < 3, group = Species)
   2. dplyr::mutate
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 9. Error: case_fatality_rate_df will do stratified analysis with missing (@te
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epikit::case_fatality_rate_df(no_s_iris, Sepal.Width < 3, group = Species)
   2. dplyr::mutate
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 10. Error: case_fatality_rate_df will do stratified analysis with missing cas
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epikit::case_fatality_rate_df(miss_iris, Sepal.Width < 3, group = Species)
   2. dplyr::mutate
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 11. Error: case_fatality_rate_df will add a total row to stratified analysis 
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epikit::case_fatality_rate_df(...)
   2. dplyr::mutate
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  -- 12. Error: case_fatality_rate_df will add a total row to stratified analysis 
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. epikit::case_fatality_rate_df(...)
   2. dplyr::mutate
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 87 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 12 ]
  1. Error: extra columns are left alone (@test-age-categories.R#169) 
  2. Error: years alone give years (@test-age-categories.R#179) 
  3. Error: months alone give months (@test-age-categories.R#184) 
  4. Error: days alone give days (@test-age-categories.R#189) 
  5. Error: levels are combined (@test-age-categories.R#194) 
  6. Error: fmt_count() works as expected (@test-inline_fun.R#65) 
  7. Error: case_fatality_rate_df is equivalent to the non-df version (@test-proportion.R#71) 
  8. Error: case_fatality_rate_df will do stratified analysis (@test-proportion.R#84) 
  9. Error: case_fatality_rate_df will do stratified analysis with missing (@test-proportion.R#98) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted