Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(didimputation)
  Loading required package: fixest
  Loading required package: data.table
  > 
  > test_check("didimputation")
  ! curl package not installed, falling back to using `url()`
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  
  == Failed tests ================================================================
  -- Failure ('test-did_imputation.R:13'): estimation runs -----------------------
  `did_imputation(...)` threw an unexpected error.
  Message: DLL 'purrr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-did_imputation.R:13:8
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat (local) .capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. +-didimputation::did_imputation(...)
    8. | +-data[, `:=`((wtr), purrr::map(.SD, ~. * zz000weight)), .SDcols = wtr]
    9. | \-data.table:::`[.data.table`(...)
   10. |   \-base::eval(jsub, SDenv, parent.frame())
   11. |     \-base::eval(jsub, SDenv, parent.frame())
   12. \-base::loadNamespace(x)
   13.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-did_imputation.R:18'): estimation runs -----------------------
  `did_imputation(...)` threw an unexpected error.
  Message: DLL 'purrr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-did_imputation.R:18:8
   2. | \-testthat:::expect_condition_matching(...)
   3. |   \-testthat:::quasi_capture(...)
   4. |     +-testthat (local) .capture(...)
   5. |     | \-base::withCallingHandlers(...)
   6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. +-didimputation::did_imputation(...)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-did_imputation.R:23'): estimation runs -----------------------
  `did_imputation(...)` threw an unexpected error.
  Message: DLL 'purrr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-did_imputation.R:23:8
   2. | \-testthat:::expect_condition_matching(...)
   3. |   \-testthat:::quasi_capture(...)
   4. |     +-testthat (local) .capture(...)
   5. |     | \-base::withCallingHandlers(...)
   6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. +-didimputation::did_imputation(...)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-did_imputation.R:29'): estimation runs -----------------------
  `did_imputation(...)` threw an unexpected error.
  Message: DLL 'purrr' not found: maybe not installed for this architecture?
  Class:   simpleError/error/condition
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-did_imputation.R:29:8
    2. | \-testthat:::expect_condition_matching(...)
    3. |   \-testthat:::quasi_capture(...)
    4. |     +-testthat (local) .capture(...)
    5. |     | \-base::withCallingHandlers(...)
    6. |     \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. +-didimputation::did_imputation(...)
    8. | +-data[, `:=`((wtr), purrr::map(.SD, ~. * zz000weight)), .SDcols = wtr]
    9. | \-data.table:::`[.data.table`(...)
   10. |   \-base::eval(jsub, SDenv, parent.frame())
   11. |     \-base::eval(jsub, SDenv, parent.frame())
   12. \-base::loadNamespace(x)
   13.   \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted