Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(tidycomm)
  
  Attaching package: 'tidycomm'
  
  The following object is masked from 'package:testthat':
  
      describe
  
  > 
  > test_check("tidycomm")
  -- 1. Error: add_index adds variable (@test-add_index.R#5)  --------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    9. tidycomm::add_index(...)
   10. dplyr::select(., ...)
   19. base::getExportedValue(pkg, name)
   20. base::asNamespace(ns)
   21. base::getNamespace(ns)
   22. base::loadNamespace(name)
   23. base::library.dynam(lib, package, package.lib)
  
  -- 2. Error: add_index adds attribute 'index_of' (@test-add_index.R#26)  -------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    9. tidycomm::add_index(...)
   10. dplyr::select(., ...)
   19. base::getExportedValue(pkg, name)
   20. base::asNamespace(ns)
   21. base::getNamespace(ns)
   22. base::loadNamespace(name)
   23. base::library.dynam(lib, package, package.lib)
  
  -- 3. Error: add_index works with tidyselect (@test-add_index.R#38)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    9. tidycomm::add_index(., trust_politics, tidyselect::starts_with("trust"))
   10. dplyr::select(., ...)
   19. base::getExportedValue(pkg, name)
   20. base::asNamespace(ns)
   21. base::getNamespace(ns)
   22. base::loadNamespace(name)
   23. base::library.dynam(lib, package, package.lib)
  
  -- 4. Error: tab_frequencies returns tibble (@test-categorical.R#7)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. tidycomm::tab_frequencies(WoJ, employment)
   2. dplyr::groups
   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: crosstab returns tibble (@test-categorical.R#19)  -----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. tidycomm::crosstab(WoJ, reach, employment)
   2. dplyr::is_grouped_df
   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: correlate returns tibble (@test-correlation.R#15)  ----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm::correlate(WoJ, ethics_1, ethics_2, ethics_3)
    9. dplyr::select(., !!!vars)
   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)
  
  -- 7. Error: correlate returns for other methods (@test-correlation.R#25)  -----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm::correlate(tt, method = "spearman")
    2. tidycomm:::grab_vars(data, enquos(...))
   10. dplyr::ungroup(.)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::library.dynam(lib, package, package.lib)
  
  -- 8. Error: correlate returns tibble when no variables are specified (@test-cor
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm::correlate(WoJ)
    2. tidycomm:::grab_vars(data, enquos(...))
   10. dplyr::ungroup(.)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::library.dynam(lib, package, package.lib)
  
  -- 9. Error: correlate returns tibble with tidyselect helpers (@test-correlation
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm::correlate(WoJ, tidyselect::starts_with("ethics"))
    9. dplyr::select(., !!!vars)
   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)
  
  -- 10. Error: correlate produces warning when non-numeric variables are passed (
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_warning(correlate(fbposts, type, n_pictures))
    6. tidycomm::correlate(fbposts, type, n_pictures)
   10. dplyr::select(., !!!vars)
   15. base::getExportedValue(pkg, name)
   16. base::asNamespace(ns)
   17. base::getNamespace(ns)
   18. base::loadNamespace(name)
   19. base::library.dynam(lib, package, package.lib)
  
  -- 11. Error: correlation matrix returns tibble  -------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm::correlate(WoJ)
    2. tidycomm:::grab_vars(data, enquos(...))
   10. dplyr::ungroup(.)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::library.dynam(lib, package, package.lib)
  
  -- 12. Error: describe returns tibble (@test-describe.R#7)  --------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. tidycomm::describe(WoJ, ethics_1, ethics_2, ethics_3)
   2. dplyr::groups
   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)
  
  -- 13. Error: describe works without specifying variables (@test-describe.R#15) 
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. tidycomm::describe(WoJ)
   2. dplyr::groups
   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)
  
  -- 14. Error: describe works with tidyselect helpers (@test-describe.R#23)  ----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. tidycomm::describe(WoJ, tidyselect::starts_with("ethics"))
   2. dplyr::groups
   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)
  
  -- 15. Error: unit-coder matrices are generated (@test-icr.R#5)  ---------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm:::unit_coder_matrix(fbposts, post_id, coder_id, type)
    9. dplyr::select(...)
   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)
  
  -- 16. Error: compute_icr returns tibble (@test-icr.R#14)  ---------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm:::compute_icr(type, fbposts, post_id, coder_id)
    2. tidycomm:::unit_coder_matrix(...)
   10. dplyr::select(...)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::library.dynam(lib, package, package.lib)
  
  -- 17. Error: test_icr works with specified test variables (@test-icr.R#26)  ---
  `map_df()` requires dplyr
  Backtrace:
   1. tidycomm::test_icr(...)
   2. purrr::map_dfr(...)
  
  -- 18. Error: test_icr works tests all variables if no test variables are specif
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm::test_icr(fbposts, post_id, coder_id)
    2. tidycomm:::grab_vars(data, enquos(...), alternative = "all")
   10. dplyr::ungroup(.)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::library.dynam(lib, package, package.lib)
  
  -- 19. Error: test_icr produces warning with missing data (@test-icr.R#51)  ----
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_warning(test_icr(fbposts_NA, post_id, coder_id))
    6. tidycomm::test_icr(fbposts_NA, post_id, coder_id)
    7. tidycomm:::grab_vars(data, enquos(...), alternative = "all")
   11. dplyr::ungroup(.)
   16. base::getExportedValue(pkg, name)
   17. base::asNamespace(ns)
   18. base::getNamespace(ns)
   19. base::loadNamespace(name)
   20. base::library.dynam(lib, package, package.lib)
  
  -- 20. Error: test_icr removes missing data if specified (@test-icr.R#60)  -----
  `map_df()` requires dplyr
  Backtrace:
   1. tidycomm::test_icr(...)
   2. purrr::map_dfr(...)
  
  -- 21. Error: compute_reliability returns tibble (@test-reliability.R#4)  ------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    9. tidycomm:::compute_reliability(...)
    9. dplyr::select(., ...)
   18. base::getExportedValue(pkg, name)
   19. base::asNamespace(ns)
   20. base::getNamespace(ns)
   21. base::loadNamespace(name)
   22. base::library.dynam(lib, package, package.lib)
  
  -- 22. Error: get_reliability picks all available indices (@test-reliability.R#1
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    8. tidycomm::add_index(., trust_politics, tidyselect::starts_with("trust"))
   10. dplyr::select(., ...)
   18. base::getExportedValue(pkg, name)
   19. base::asNamespace(ns)
   20. base::getNamespace(ns)
   21. base::loadNamespace(name)
   22. base::library.dynam(lib, package, package.lib)
  
  -- 23. Error: get_reliability outputs progess if specified (@test-reliability.R#
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    8. tidycomm::add_index(., trust_politics, tidyselect::starts_with("trust"))
   10. dplyr::select(., ...)
   18. base::getExportedValue(pkg, name)
   19. base::asNamespace(ns)
   20. base::getNamespace(ns)
   21. base::loadNamespace(name)
   22. base::library.dynam(lib, package, package.lib)
  
  -- 24. Error: compute_t_test returns tibble (@test-ttest.R#7)  -----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm:::compute_t_test(...)
    9. dplyr::filter(...)
   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)
  
  -- 25. Error: t_test returns tibble (@test-ttest.R#17)  ------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm::t_test(WoJ, temp_contract, autonomy_selection, autonomy_emphasis)
    9. dplyr::pull(...)
   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)
  
  -- 26. Error: t_test returns tibble when no variables are specified (@test-ttest
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm::t_test(WoJ, temp_contract)
    2. tidycomm:::grab_vars(data, quos(...))
   10. dplyr::ungroup(.)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::library.dynam(lib, package, package.lib)
  
  -- 27. Error: t_test returns tibble with user-defined levels (@test-ttest.R#33) 
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm::t_test(WoJ, employment, levels = c("Full-time", "Part-time"))
    2. tidycomm:::grab_vars(data, quos(...))
   10. dplyr::ungroup(.)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::library.dynam(lib, package, package.lib)
  
  -- 28. Error: cohen's d returns correct results (@test-ttest.R#44)  ------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    8. dplyr::filter(., temp_contract == "Permanent")
    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)
  
  -- 29. Error: compute_aov returns tibble (@test-unianova.R#7)  -----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. tidycomm:::compute_aov(...)
   2. broom::tidy
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   8. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   9. base::library.dynam(lib, package, package.lib)
  
  -- 30. Error: unianova returns tibble (@test-unianova.R#25)  -------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. tidycomm::unianova(WoJ, employment, autonomy_selection, autonomy_emphasis)
   3. dplyr::pull
   4. base::getExportedValue(pkg, name)
   5. base::asNamespace(ns)
   6. base::getNamespace(ns)
   7. base::loadNamespace(name)
   8. base::library.dynam(lib, package, package.lib)
  
  -- 31. Error: t_test returns tibble when no variables are specified (@test-unian
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. tidycomm::unianova(WoJ, employment)
    2. tidycomm:::grab_vars(data, quos(...))
   10. dplyr::ungroup(.)
   11. base::getExportedValue(pkg, name)
   12. base::asNamespace(ns)
   13. base::getNamespace(ns)
   14. base::loadNamespace(name)
   15. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 59 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 31 ]
  1. Error: add_index adds variable (@test-add_index.R#5) 
  2. Error: add_index adds attribute 'index_of' (@test-add_index.R#26) 
  3. Error: add_index works with tidyselect (@test-add_index.R#38) 
  4. Error: tab_frequencies returns tibble (@test-categorical.R#7) 
  5. Error: crosstab returns tibble (@test-categorical.R#19) 
  6. Error: correlate returns tibble (@test-correlation.R#15) 
  7. Error: correlate returns for other methods (@test-correlation.R#25) 
  8. Error: correlate returns tibble when no variables are specified (@test-correlation.R#39) 
  9. Error: correlate returns tibble with tidyselect helpers (@test-correlation.R#47) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted