Running 'testthat.R' [54s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(DeclareDesign)
  Loading required package: randomizr
  Loading required package: fabricatr
  Loading required package: estimatr
  > 
  > test_check("DeclareDesign")
  -- 1. Error: (unknown) (@test-allow-custom-functions.R#1)  ---------------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 2. Error: test the full declare design setup (@test-declare-design.R#33)  ---
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. DeclareDesign::draw_data(design)
   2. DeclareDesign:::get_function_internal(...)
   3. DeclareDesign:::run_design_internal.design(...)
   4. DeclareDesign:::next_step(step, current_df, i)
   5. base::tryCatch(...)
   6. base:::tryCatchList(expr, classes, parentenv, handlers)
   7. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   8. value[[3L]](cond)
  
  -- 3. Error: demo runs (@test-demo.R#119)  -------------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. DeclareDesign::draw_data(design)
   2. DeclareDesign:::get_function_internal(...)
   3. DeclareDesign:::run_design_internal.design(...)
   4. DeclareDesign:::next_step(step, current_df, i)
   5. base::tryCatch(...)
   6. base:::tryCatchList(expr, classes, parentenv, handlers)
   7. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   8. value[[3L]](cond)
  
  -- 4. Error: Basic design summary (@test-design-summary.R#27)  -----------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. base::summary(design)
    7. dplyr::mutate
    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)
  
  -- 5. Error: allow design functions to be sent to simulate design and diagnose_d
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. DeclareDesign::run_design(my_design_function)
    3. DeclareDesign:::run_design_internal.function(design)
    4. DeclareDesign:::design()
    5. DeclareDesign::run_design(design)
    7. DeclareDesign:::run_design_internal.design(design)
    8. DeclareDesign:::next_step(step, current_df, i)
    9. base::tryCatch(...)
   10. base:::tryCatchList(expr, classes, parentenv, handlers)
   11. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   12. value[[3L]](cond)
  
  -- 6. Error: default diagnosands work (@test-diagnose-design.R#114)  -----------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. DeclareDesign::diagnose_design(...)
    2. DeclareDesign::simulate_design(!!!dots, sims = sims)
    3. base::mapply(...)
    5. DeclareDesign:::future_lapply(...)
    6. future.apply::future_lapply(..., future.seed = future.seed, future.globals = future.globals)
    7. future.apply:::future_xapply(...)
    9. future:::value.list(fs)
   11. future:::resolve.list(...)
   12. future:::signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   13. future:::signalConditions(...)
  
  -- 7. Error: Factorial (@test-factorial.R#36)  ---------------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. testthat::expect_equal(...)
    9. DeclareDesign::draw_data(.)
   12. DeclareDesign:::get_function_internal(...)
   13. DeclareDesign:::run_design_internal.design(...)
   14. DeclareDesign:::next_step(step, current_df, i)
   15. base::tryCatch(...)
   16. base:::tryCatchList(expr, classes, parentenv, handlers)
   17. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   18. value[[3L]](cond)
  
  -- 8. Error: (unknown) (@test-model.R#199)  ------------------------------------
  package or namespace load failed for 'broom' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(broom)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 9. Error: test modify declare design  (@test-modify-design.R#4)  ------------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 10. Error: POs at a higher level (@test-potential-outcomes.R#77)  -----------
  package or namespace load failed for 'dplyr' in library.dynam(lib, package, package.lib):
   DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
   1. base::library(dplyr)
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  -- 11. Error: reshape works (@test-reshape-diagnosis.R#30)  --------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. DeclareDesign::diagnose_design(design, sims = 10, bootstrap_sims = 5)
    2. DeclareDesign::simulate_design(!!!dots, sims = sims)
    3. base::mapply(...)
    5. DeclareDesign:::future_lapply(...)
    6. future.apply::future_lapply(..., future.seed = future.seed, future.globals = future.globals)
    7. future.apply:::future_xapply(...)
    9. future:::value.list(fs)
   11. future:::resolve.list(...)
   12. future:::signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   13. future:::signalConditions(...)
  
  -- 12. Error: select (@test-reshape-diagnosis.R#77)  ---------------------------
  DLL 'dplyr' not found: maybe not installed for this architecture?
  Backtrace:
    1. DeclareDesign::diagnose_design(design, sims = 10, bootstrap_sims = 5)
    2. DeclareDesign::simulate_design(!!!dots, sims = sims)
    3. base::mapply(...)
    5. DeclareDesign:::future_lapply(...)
    6. future.apply::future_lapply(..., future.seed = future.seed, future.globals = future.globals)
    7. future.apply:::future_xapply(...)
    9. future:::value.list(fs)
   11. future:::resolve.list(...)
   12. future:::signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   13. future:::signalConditions(...)
  
  -- 13. Error: designs with factors in diagnosands_df do not produce warnings (@t
  could not find function "first"
  Backtrace:
    1. DeclareDesign::diagnose_design(...)
    9. (FUN)(...)
   10. rlang::eval_tidy(options[[i]], data = data)
  
  == testthat results  ===========================================================
  [ OK: 446 | SKIPPED: 7 | WARNINGS: 0 | FAILED: 13 ]
  1. Error: (unknown) (@test-allow-custom-functions.R#1) 
  2. Error: test the full declare design setup (@test-declare-design.R#33) 
  3. Error: demo runs (@test-demo.R#119) 
  4. Error: Basic design summary (@test-design-summary.R#27) 
  5. Error: allow design functions to be sent to simulate design and diagnose_design (@test-diagnose-design.R#34) 
  6. Error: default diagnosands work (@test-diagnose-design.R#114) 
  7. Error: Factorial (@test-factorial.R#36) 
  8. Error: (unknown) (@test-model.R#199) 
  9. Error: test modify declare design  (@test-modify-design.R#4) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted