Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ftExtra)
  > 
  > test_check("ftExtra")
  -- 1. Error: as.flextable.grouped_df (@test-as-flextable.R#15)  ----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. dplyr::group_by
   2. base::getExportedValue(pkg, name)
   3. base::asNamespace(ns)
   4. base::getNamespace(ns)
   5. base::loadNamespace(name)
   6. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: ast2df (@test-ast2df.R#51)  ---------------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_identical(...)
    4. ftExtra:::ast2df(list(blocks = tree))
    3. x$blocks
    3. ftExtra:::flatten_ast(.)
    3. base::lapply(., branch2list)
   10. dplyr::bind_rows(.)
   13. base::getExportedValue(pkg, name)
   14. base::asNamespace(ns)
   15. base::getNamespace(ns)
   16. base::loadNamespace(name)
   17. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: fill_header (@test-header-transform.R#13)  ------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_identical(...)
    4. ftExtra:::fill_header(x)
   10. tidyr::pivot_longer(...)
   13. base::getExportedValue(pkg, name)
   14. base::asNamespace(ns)
   15. base::getNamespace(ns)
   16. base::loadNamespace(name)
   19. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   20. base::library.dynam(lib, package, package.lib)
  
  -- 4. Error: separate-header (@test-header-transform.R#32)  --------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_identical(...)
    2. flextable::as_flextable(.)
   10. ftExtra::separate_header(.)
   13. ftExtra:::transform_header(...)
    5. base::data.frame(original = header, stringsAsFactors = FALSE)
   12. tidyr::separate(...)
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::loadNamespace(name)
   28. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   29. base::library.dynam(lib, package, package.lib)
  
  -- 5. Error: span-header (@test-header-transform.R#39)  ------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_identical(...)
    2. flextable::as_flextable(.)
   10. ftExtra::span_header(.)
   13. ftExtra:::transform_header(...)
    5. base::data.frame(original = header, stringsAsFactors = FALSE)
   12. tidyr::separate(...)
   22. base::getExportedValue(pkg, name)
   23. base::asNamespace(ns)
   24. base::getNamespace(ns)
   25. base::loadNamespace(name)
   28. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   29. base::library.dynam(lib, package, package.lib)
  
  -- 6. Error: vertical_align (@test-parse-md.R#2)  ------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_identical(vertical_align(NULL, NULL), NA_character_)
    4. ftExtra:::vertical_align(NULL, NULL)
    5. dplyr::if_else
    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: group_of grouped_df (@test-utils.R#2)  ----------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_identical(...)
    7. dplyr::group_by
    8. base::getExportedValue(pkg, name)
    9. base::asNamespace(ns)
   10. base::getNamespace(ns)
   11. base::loadNamespace(name)
   12. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 18 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: as.flextable.grouped_df (@test-as-flextable.R#15) 
  2. Error: ast2df (@test-ast2df.R#51) 
  3. Error: fill_header (@test-header-transform.R#13) 
  4. Error: separate-header (@test-header-transform.R#32) 
  5. Error: span-header (@test-header-transform.R#39) 
  6. Error: vertical_align (@test-parse-md.R#2) 
  7. Error: group_of grouped_df (@test-utils.R#2) 
  
  Error: testthat unit tests failed
  Execution halted