Running 'test-all.R' [5s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > # Modeled after the R6 testing structure: https://github.com/wch/R6/blob/master/tests/testthat.R
  > library(testthat)
  > library(REDCapR)
  > 
  > testthat::test_check("REDCapR")
  -- 1. Error: constant_to_form_completion (@test-constant.R#48)  ----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. REDCapR::constant_to_form_completion(c(0, 2, 1, 2, NA))
   2. dplyr::coalesce
   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)
  
  -- 2. Error: constant_to_form_rights (@test-constant.R#54)  --------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. REDCapR::constant_to_form_rights(c(0, 3, 1, 2, NA))
   2. dplyr::coalesce
   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: constant_to_export_rights (@test-constant.R#60)  ------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. REDCapR::constant_to_export_rights(c(0, 2, 1, 2, NA))
   2. dplyr::coalesce
   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: constant_to_access (@test-constant.R#66)  -------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. REDCapR::constant_to_access(c(0, 1, 1, 0, NA))
   2. dplyr::coalesce
   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: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#9)  -------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_message(...)
    6. REDCapR::redcap_read_oneshot(...)
    7. REDCapR:::collapse_vector(records, records_collapsed)
    8. dplyr::if_else
    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)
  
  -- 6. Error: One Shot: Bad Uri -wrong address (@test-read-errors.R#29)  --------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_message(...)
    6. REDCapR::redcap_read_oneshot(...)
    7. REDCapR:::collapse_vector(records, records_collapsed)
    8. dplyr::if_else
    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)
  
  -- 7. Error: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#48)  ---------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_message(...)
    6. REDCapR::redcap_read(...)
    7. REDCapR:::collapse_vector(records, records_collapsed)
    8. dplyr::if_else
    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)
  
  -- 8. Error: Batch: Bad Uri -wrong address (@test-read-errors.R#67)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_message(...)
    6. REDCapR::redcap_read(...)
    7. REDCapR:::collapse_vector(records, records_collapsed)
    8. dplyr::if_else
    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: guess_max deprecated -warn (@test-read-errors.R#96)  --------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_warning(...)
    6. REDCapR::redcap_read(...)
    7. REDCapR:::collapse_vector(records, records_collapsed)
    8. dplyr::if_else
    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)
  
  -- 10. Error: both NULL (@test-utilities-collapse_vector.R#8)  -----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. REDCapR:::collapse_vector(elements, collapsed)
   2. dplyr::if_else
   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: collapsed NULL (@test-utilities-collapse_vector.R#16)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. REDCapR:::collapse_vector(elements, collapsed)
   2. dplyr::if_else
   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: validate_for_write (@test-validate.R#15)  ------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. REDCapR::validate_for_write(d = ds_bad)
   2. dplyr::bind_rows
   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: validate_for_write_no_errors (@test-validate.R#20)  --------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. REDCapR::validate_for_write(d = ds_good)
   2. dplyr::bind_rows
   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: 97 | SKIPPED: 99 | WARNINGS: 0 | FAILED: 13 ]
  1. Error: constant_to_form_completion (@test-constant.R#48) 
  2. Error: constant_to_form_rights (@test-constant.R#54) 
  3. Error: constant_to_export_rights (@test-constant.R#60) 
  4. Error: constant_to_access (@test-constant.R#66) 
  5. Error: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#9) 
  6. Error: One Shot: Bad Uri -wrong address (@test-read-errors.R#29) 
  7. Error: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#48) 
  8. Error: Batch: Bad Uri -wrong address (@test-read-errors.R#67) 
  9. Error: guess_max deprecated -warn (@test-read-errors.R#96) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted