Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(keyATM)
  keyATM 0.3.1 successfully loaded.
   Papers, examples, resources, and other materials are at
   https://keyatm.github.io/keyATM/
  > 
  > test_check("keyATM")
  -- 1. Error: Visualizing keywords (@test-Initialization.R#17)  -----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. keyATM::visualize_keywords(keyATM_docs, bills_keywords)
    9. dplyr::rename(., Word = .data$text_split)
   10. base::getExportedValue(pkg, name)
   11. base::asNamespace(ns)
   12. base::getNamespace(ns)
   13. base::loadNamespace(name)
   14. base::library.dynam(lib, package, package.lib)
  
  0%   10   20   30   40   50   60   70   80   90   100%
  [----|----|----|----|----|----|----|----|----|----|
  **************************************************|
  -- 2. Error: (unknown) (@test-keyATMBase.R#16)  --------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. keyATM::keyATM(...)
    2. keyATM:::keyATM_output(fitted, keep)
    3. keyATM:::keyATM_output_theta(model, info)
    4. keyATM:::bind_tables(lapply(model$Z, posterior_z_base))
    8. dplyr::bind_rows
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  0%   10   20   30   40   50   60   70   80   90   100%
  [----|----|----|----|----|----|----|----|----|----|
  **************************************************|
  -- 3. Error: (unknown) (@test-keyATMCov.R#17)  ---------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. keyATM::keyATM(...)
    2. keyATM:::keyATM_output(fitted, keep)
    3. keyATM:::keyATM_output_theta(model, info)
    4. keyATM:::bind_tables(lapply(1:length(model$Z), posterior_z_cov))
    8. dplyr::bind_rows
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  0%   10   20   30   40   50   60   70   80   90   100%
  [----|----|----|----|----|----|----|----|----|----|
  **************************************************|
  -- 4. Error: (unknown) (@test-keyATMDynamic.R#17)  -----------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. keyATM::keyATM(...)
    2. keyATM:::keyATM_output(fitted, keep)
    3. keyATM:::keyATM_output_theta(model, info)
    4. keyATM:::bind_tables(...)
    8. dplyr::bind_rows
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  -- 5. Error: (unknown) (@test-keyATMHeterogeneity.R#35)  -----------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tibble::as_tibble(.)
    8. dplyr::mutate(...)
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  0%   10   20   30   40   50   60   70   80   90   100%
  [----|----|----|----|----|----|----|----|----|----|
  **************************************************|
  Perplexity [1]: 10446.7 / Convergence [1]: 1
  Perplexity [2]: 9778.84 / Convergence [2]: 0.0639325
  Perplexity [3]: 9158.22 / Convergence [3]: 0.0634658
  Perplexity [4]: 8693.21 / Convergence [4]: 0.0507752
  Perplexity [5]: 8350.53 / Convergence [5]: 0.0394192
  -- 6. Error: (unknown) (@test-keyATMvb.R#14)  ----------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. keyATM::keyATMvb(...)
    2. keyATM:::keyATM_output(fitted, keep)
    3. keyATM:::keyATM_output_theta(model, info)
    4. keyATM:::bind_tables(lapply(model$Z, posterior_z_base))
    8. dplyr::bind_rows
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  0%   10   20   30   40   50   60   70   80   90   100%
  [----|----|----|----|----|----|----|----|----|----|
  **************************************************|
  -- 7. Error: (unknown) (@test-plot.R#16)  --------------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. keyATM::keyATM(...)
    2. keyATM:::keyATM_output(fitted, keep)
    3. keyATM:::keyATM_output_theta(model, info)
    4. keyATM:::bind_tables(lapply(model$Z, posterior_z_base))
    8. dplyr::bind_rows
    9. base::getExportedValue(pkg, name)
   10. base::asNamespace(ns)
   11. base::getNamespace(ns)
   12. base::loadNamespace(name)
   13. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 15 | SKIPPED: 8 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: Visualizing keywords (@test-Initialization.R#17) 
  2. Error: (unknown) (@test-keyATMBase.R#16) 
  3. Error: (unknown) (@test-keyATMCov.R#17) 
  4. Error: (unknown) (@test-keyATMDynamic.R#17) 
  5. Error: (unknown) (@test-keyATMHeterogeneity.R#35) 
  6. Error: (unknown) (@test-keyATMvb.R#14) 
  7. Error: (unknown) (@test-plot.R#16) 
  
  Error: testthat unit tests failed
  Execution halted