Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(projects)
  projects_folder() location:
  projects folder not found. Please run setup_projects()
  > 
  > test_check("projects")
  -- 1. Failure: Setup works (@test-setup.R#65)  ---------------------------------
  `new_affiliation(...)` threw an error.
  Message: DLL 'dplyr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. projects::new_affiliation(...)
    7. projects:::validate_new(id = id, what = "affiliations", rds_table = affiliations_table)
    8. dplyr::between
    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)
  
  -- 2. Failure: Setup works (@test-setup.R#80)  ---------------------------------
  `new_author(...)` threw an error.
  Message: DLL 'dplyr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. projects::new_author(...)
    7. projects:::validate_new(id = id, what = "author", rds_table = authors_table)
    8. dplyr::between
    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)
  
  -- 3. Failure: Setup works (@test-setup.R#97)  ---------------------------------
  `new_author(...)` threw an error.
  Message: DLL 'dplyr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. projects::new_author(...)
    7. projects:::validate_new(id = id, what = "author", rds_table = authors_table)
    8. dplyr::between
    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)
  
  -- 4. Failure: Setup works (@test-setup.R#108)  --------------------------------
  `new_author(given_names = "Plato", id = 303)` threw an error.
  Message: DLL 'dplyr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. projects::new_author(given_names = "Plato", id = 303)
    7. projects:::validate_new(id = id, what = "author", rds_table = authors_table)
    8. dplyr::between
    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. Failure: Setup works (@test-setup.R#113)  --------------------------------
  `edit_author(...)` threw an error.
  Message: author with the id 303 not found
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. projects::edit_author(...)
   10. projects:::validate_unique_entry(...)
   11. projects:::validate_entry(...)
  
  -- 6. Failure: Setup works (@test-setup.R#123)  --------------------------------
  `edit_author("Spiro", affiliations = ~-"Art D" + Math)` threw an error.
  Message: author matching 'Spiro' not found
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. projects::edit_author("Spiro", affiliations = ~-"Art D" + Math)
   10. projects:::validate_unique_entry(...)
   11. projects:::validate_entry(...)
  
  -- 7. Failure: Setup works (@test-setup.R#129)  --------------------------------
  `new_project(...)` threw an error.
  Message: Can't set authors until an author is created. Run new_author()
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. projects::new_project(...)
   7. projects:::validate_authors(...)
  
  -- 8. Failure: Setup works (@test-setup.R#147)  --------------------------------
  `edit_project(...)` threw an error.
  Message: DLL 'dplyr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. projects::edit_project(...)
    7. projects:::remove_archived(projects_table)
    8. dplyr::filter
    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)
  
  -- 9. Error: Setup works (@test-setup.R#162)  ----------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_identical(...)
    4. projects::affiliations()
    3. projects:::affiliations_internal(p_path)
   11. dplyr::arrange(., .data$department_name, .data$institution_name)
   14. base::getExportedValue(pkg, name)
   15. base::asNamespace(ns)
   16. base::getNamespace(ns)
   17. base::loadNamespace(name)
   18. base::library.dynam(lib, package, package.lib)
  
  == testthat results  ===========================================================
  [ OK: 7 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 9 ]
  1. Failure: Setup works (@test-setup.R#65) 
  2. Failure: Setup works (@test-setup.R#80) 
  3. Failure: Setup works (@test-setup.R#97) 
  4. Failure: Setup works (@test-setup.R#108) 
  5. Failure: Setup works (@test-setup.R#113) 
  6. Failure: Setup works (@test-setup.R#123) 
  7. Failure: Setup works (@test-setup.R#129) 
  8. Failure: Setup works (@test-setup.R#147) 
  9. Error: Setup works (@test-setup.R#162) 
  
  Error: testthat unit tests failed
  Execution halted