Running 'testthat.R' [20s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(weibulltools)
  > 
  > test_check("weibulltools")
  [ FAIL 23 | WARN 30 | SKIP 13 | PASS 23 ]
  
  == Skipped tests ===============================================================
  * On CRAN (13)
  
  == Failed tests ================================================================
  -- Error ('test-confidence_intervals.R:2'): confint_betabinom fails for methods kaplan and nelson --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(shock, x = distance, status = status) at test-confidence_intervals.R:2:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-confidence_intervals.R:15'): confint_betabinom remains stable --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(x = obs, status = state) at test-confidence_intervals.R:15:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-confidence_intervals.R:85'): confint_fisher remains stable -----
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(x = obs, status = state) at test-confidence_intervals.R:85:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-confidence_intervals.R:113'): delta_method remains stable ------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(x = obs, status = status) at test-confidence_intervals.R:113:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-delay_distributions.R:144'): mcs_delay stops if date_1 and date_2 differ in lengths; vector case --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-delay_distributions.R:144:2
   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. +-weibulltools::mcs_delay(...)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-delay_distributions.R:175'): mcs_delay stops if status is not a binary (0 or 1) --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-delay_distributions.R:175:2
   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. +-weibulltools::mcs_delay(...)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-delay_distributions.R:221'): mcs_delay remains stable by defining the seed --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::mcs_delay(...) at test-delay_distributions.R:221:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mileage_distribution.R:112'): mcs_mileage stops if status is not a binary (0 or 1) --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-mileage_distribution.R:112:2
   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. +-weibulltools::mcs_mileage(...)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mileage_distribution.R:134'): mcs_mileage remains stable by defining the seed --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::mcs_mileage(...) at test-mileage_distribution.R:134:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mixture_identification.R:2'): mixmod_regression remains stable --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(data = voltage, x = hours, status = status) at test-mixture_identification.R:2:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-mixture_identification.R:19'): mixmod_em remains stable --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::mixmod_em(...) at test-mixture_identification.R:19:2
   2. +-weibulltools:::mixmod_em.default(...)
   3. | \-weibulltools::reliability_data(x = x, status = status)
   4. \-base::loadNamespace(x)
   5.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-ml_estimation.R:20'): ml_estimation remains stable -------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(x = obs, status = status) at test-ml_estimation.R:20:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-plot_helpers.R:31'): plot_prob_helper remains stable -----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(x = cycles, status = status) at test-plot_helpers.R:31:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-plot_helpers.R:51'): plot_mod_helper remains stable ------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(shock, x = distance, status = status) at test-plot_helpers.R:51:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-plot_helpers.R:68'): plot_mod_mix_helper remains stable --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(shock, x = distance, status = status) at test-plot_helpers.R:68:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-plot_helpers.R:85'): plot_conf_helper_2 remains stable ---------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(shock, x = distance, status = status) at test-plot_helpers.R:85:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-plot_helpers.R:106'): plot_pop_helper remains stable -----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_snapshot_output(...) at test-plot_helpers.R:106:2
   2. | \-testthat::capture_output_lines(x, print = TRUE, width = NULL)
   3. |   \-testthat:::eval_with_output(code, print = print, width = width)
   4. |     +-withr::with_output_sink(path, withVisible(code))
   5. |     | \-base::force(code)
   6. |     \-base::withVisible(code)
   7. +-weibulltools:::plot_pop_helper(x, dist_params_tbl, "weibull")
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rank_regression.R:4'): r_squared_profiling remains stable ------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(x = cycles, status = status) at test-rank_regression.R:4:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rank_regression.R:23'): rank_regression remains stable ---------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(x = obs, status = status) at test-rank_regression.R:23:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-rank_regression.R:60'): rank_regression supports multiple methods --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-weibulltools::reliability_data(shock, x = "distance", status = "status") at test-rank_regression.R:60:2
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-reliability_data.R:19'): data-based approach works with and without NSE --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(...) at test-reliability_data.R:19:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-weibulltools::reliability_data(tbl, a, b, c)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-reliability_data.R:29'): vector-based approach recycles status and id --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_true(...) at test-reliability_data.R:29:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-weibulltools::reliability_data(x = x, status = stat_0, id = id_1)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-reliability_data.R:36'): ID is sequentiated regardless of approach --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(...) at test-reliability_data.R:36:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-weibulltools::reliability_data(x = x, status = 0)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 23 | WARN 30 | SKIP 13 | PASS 23 ]
  Error: Test failures
  Execution halted