Running 'testthat.R' [59s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(reservr)
  > 
  > test_check("reservr")
  -- Skip ('d:\RCompile\CRANpkg\local\4.1\reservr.Rcheck\tests_i386\testthat\helpers.R:13'): set floatx to 64-bit --
  Reason: TensorFlow not available for testing
  
  [ FAIL 36 | WARN 0 | SKIP 12 | PASS 118 ]
  
  == Skipped tests ===============================================================
  * TensorFlow not available for testing (11)
  * empty test (1)
  
  == Failed tests ================================================================
  -- Error ('test-check_lengths.R:6'): check_lengths works on good inputs --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_invisible(check_lengths(a, b, c)) at test-check_lengths.R:6:4
   2. | \-base::withVisible(call)
   3. +-reservr:::check_lengths(a, b, c)
   4. | \-base::vapply(...)
   5. |   \-base::match.fun(FUN)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-check_lengths.R:17'): check_lengths throws on bad inputs -----
  `check_lengths(a, b)` threw an error with unexpected message.
  Expected match: "^`b` must have 1 or 10 elements"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(check_lengths(a, b), regexp = "^`b` must have 1 or 10 elements") at test-check_lengths.R:17:4
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-reservr:::check_lengths(a, b)
    7. | \-base::vapply(...)
    8. |   \-base::match.fun(FUN)
    9. \-base::loadNamespace(x)
   10.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-check_lengths.R:19'): check_lengths throws on bad inputs -----
  `check_lengths(a, b, .len = 3)` threw an error with unexpected message.
  Expected match: "^`a` must have 1 or 3 elements"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(check_lengths(a, b, .len = 3), regexp = "^`a` must have 1 or 3 elements") at test-check_lengths.R:19:4
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-reservr:::check_lengths(a, b, .len = 3)
    7. | \-base::vapply(...)
    8. |   \-base::match.fun(FUN)
    9. \-base::loadNamespace(x)
   10.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-check_lengths.R:21'): check_lengths throws on bad inputs -----
  `check_lengths(a, b, c)` threw an error with unexpected message.
  Expected match: "^Some arguments have problematic lengths"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(check_lengths(a, b, c), regexp = "^Some arguments have problematic lengths") at test-check_lengths.R:21:4
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-reservr:::check_lengths(a, b, c)
    7. | \-base::vapply(...)
    8. |   \-base::match.fun(FUN)
    9. \-base::loadNamespace(x)
   10.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-check_lengths.R:23'): check_lengths throws on bad inputs -----
  `check_lengths(a, b, c, d)` threw an error with unexpected message.
  Expected match: "^Some arguments have problematic lengths"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(check_lengths(a, b, c, d), regexp = "^Some arguments have problematic lengths") at test-check_lengths.R:23:4
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-reservr:::check_lengths(a, b, c, d)
    7. | \-base::vapply(...)
    8. |   \-base::match.fun(FUN)
    9. \-base::loadNamespace(x)
   10.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-check_lengths.R:25'): check_lengths throws on bad inputs -----
  `check_lengths(a, b, c, d, .len = 3)` threw an error with unexpected message.
  Expected match: "^`a` must have 1 or 3 elements"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(check_lengths(a, b, c, d, .len = 3), regexp = "^`a` must have 1 or 3 elements") at test-check_lengths.R:25:4
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-reservr:::check_lengths(a, b, c, d, .len = 3)
    7. | \-base::vapply(...)
    8. |   \-base::match.fun(FUN)
    9. \-base::loadNamespace(x)
   10.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-check_lengths.R:33'): check_lengths shows message ------------
  `check_lengths(a, b, c, .msg = "ten")` threw an error with unexpected message.
  Expected match: "ten"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-check_lengths.R:33:4
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-reservr:::check_lengths(a, b, c, .msg = "ten")
    7. | \-base::vapply(...)
    8. |   \-base::match.fun(FUN)
    9. \-base::loadNamespace(x)
   10.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-check_lengths.R:34'): check_lengths shows message ------------
  `check_lengths(a, b, c, .len = 3, .msg = "length of smallest element longer than 1")` threw an error with unexpected message.
  Expected match: "^`a` must have 1 or 3 elements \\(length of smallest element longer than 1\\), but has 10\\.$"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-check_lengths.R:34:4
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-reservr:::check_lengths(a, b, c, .len = 3, .msg = "length of smallest element longer than 1")
    7. | \-base::vapply(...)
    8. |   \-base::match.fun(FUN)
    9. \-base::loadNamespace(x)
   10.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_beta.R:7'): beta distribution works -----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit_dist(dist, x)) at test-dist_beta.R:7:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-reservr::fit_dist(dist, x)
   10. +-reservr:::fit_dist.Distribution(dist, x)
   11. | \-reservr::as_trunc_obs(obs)
   12. |   \-reservr::trunc_obs(x = .data)
   13. |     \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   14. |       \-base::vapply(...)
   15. |         \-base::match.fun(FUN)
   16. \-base::loadNamespace(x)
   17.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_binomial.R:7'): binomial distribution works ---------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-reservr::fit_dist_start(dist, x) at test-dist_binomial.R:7:2
   2. +-reservr:::fit_dist_start.BinomialDistribution(dist, x)
   3. | \-reservr::as_trunc_obs(obs)
   4. |   \-reservr::trunc_obs(x = .data)
   5. |     \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   6. |       \-base::vapply(...)
   7. |         \-base::match.fun(FUN)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_blended.R:21'): test dist_blended -------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-dist$sample(100L, with_params = params) at test-dist_blended.R:21:2
   2. | \-self$require_capability("sample")
   3. |   \-self$has_capability(caps)
   4. |     +-matrixStats::rowAlls(...)
   5. |     \-reservr:::map_lgl_matrix(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_blended.R:128'): blending works for discrete distributions --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_identical(dist$get_type(), "discrete") at test-dist_blended.R:128:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-dist$get_type()
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_discrete.R:7'): discrete distribution works ---------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit(dist, trunc_obs(x, tmin = 0))) at test-dist_discrete.R:7:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-generics::fit(dist, trunc_obs(x, tmin = 0))
   10. +-reservr:::fit.Distribution(dist, trunc_obs(x, tmin = 0))
   11. | +-reservr::fit_dist(dist = object, obs = obs, start = start, ...)
   12. | \-reservr:::fit_dist.Distribution(...)
   13. |   \-reservr::as_trunc_obs(obs)
   14. +-reservr::trunc_obs(x, tmin = 0)
   15. | \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   16. |   \-base::vapply(...)
   17. |     \-base::match.fun(FUN)
   18. \-base::loadNamespace(x)
   19.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_erlangmix.R:16'): erlang mixture distribution works -------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit(dist, x, init = "shapes", shapes = as.numeric(params$shapes))) at test-dist_erlangmix.R:16:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-generics::fit(dist, x, init = "shapes", shapes = as.numeric(params$shapes))
   10. +-reservr:::fit.Distribution(dist, x, init = "shapes", shapes = as.numeric(params$shapes))
   11. | +-reservr::fit_dist(dist = object, obs = obs, start = start, ...)
   12. | \-reservr:::fit_dist.ErlangMixtureDistribution(...)
   13. |   \-reservr::as_trunc_obs(obs)
   14. |     \-reservr::trunc_obs(x = .data)
   15. |       \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   16. |         \-base::vapply(...)
   17. |           \-base::match.fun(FUN)
   18. \-base::loadNamespace(x)
   19.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_erlangmix.R:98'): can use erlang mixtures with 1 component --
  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-dist_erlangmix.R:98:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-dist$density(x, with_params = params)
   5. | \-private$.density_impl(x = x, log = log, params = params)
   6. |   \-reservr:::map_dbl_matrix(...)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_exponential.R:7'): exponential distribution works ---------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_equal(fit_dist(expo, x)$params$rate, 1/mean(x)) at test-dist_exponential.R:7:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-reservr::fit_dist(expo, x)
    5. +-reservr:::fit_dist.Distribution(expo, x)
    6. | \-reservr::as_trunc_obs(obs)
    7. |   \-reservr::trunc_obs(x = .data)
    8. |     \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
    9. |       \-base::vapply(...)
   10. |         \-base::match.fun(FUN)
   11. \-base::loadNamespace(x)
   12.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_gamma.R:7'): gamma distribution works ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit(dist, x)) at test-dist_gamma.R:7:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-generics::fit(dist, x)
   10. +-reservr:::fit.Distribution(dist, x)
   11. | +-reservr::fit_dist(dist = object, obs = obs, start = start, ...)
   12. | \-reservr:::fit_dist.Distribution(...)
   13. |   \-reservr::as_trunc_obs(obs)
   14. |     \-reservr::trunc_obs(x = .data)
   15. |       \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   16. |         \-base::vapply(...)
   17. |           \-base::match.fun(FUN)
   18. \-base::loadNamespace(x)
   19.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_genpareto.R:14'): generalized pareto distribution works ---
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-genpareto$sample(...) at test-dist_genpareto.R:14:2
   2. | \-private$.sample_impl(n = n, params = params)
   3. |   +-base::do.call(`<fn>`, c(list(n = n), params))
   4. |   \-reservr (local) `<fn>`(n = 100L, u = `<dbl>`, sigmau = `<dbl>`, xi = `<dbl>`)
   5. |     \-reservr:::check_lengths(u, sigmau, xi, .len = n, .msg = "n")
   6. |       \-base::vapply(...)
   7. |         \-base::match.fun(FUN)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_lognormal.R:7'): lognormal distribution works -------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit(dist, x)) at test-dist_lognormal.R:7:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-generics::fit(dist, x)
   10. +-reservr:::fit.Distribution(dist, x)
   11. | +-reservr::fit_dist(dist = object, obs = obs, start = start, ...)
   12. | \-reservr:::fit_dist.Distribution(...)
   13. |   \-reservr::as_trunc_obs(obs)
   14. |     \-reservr::trunc_obs(x = .data)
   15. |       \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   16. |         \-base::vapply(...)
   17. |           \-base::match.fun(FUN)
   18. \-base::loadNamespace(x)
   19.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_mixture.R:19'): test dist_mixture -------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-dist$sample(100L, with_params = params) at test-dist_mixture.R:19:2
   2. | \-self$require_capability("sample")
   3. |   \-self$has_capability(caps)
   4. |     +-base::rowSums(...)
   5. |     | \-base::is.data.frame(x)
   6. |     \-reservr:::map_lgl_matrix(...)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_negbinomial.R:7'): negative binomial distribution works ---
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit(dist, x)) at test-dist_negbinomial.R:7:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-generics::fit(dist, x)
   10. +-reservr:::fit.Distribution(dist, x)
   11. | +-reservr::fit_dist(dist = object, obs = obs, start = start, ...)
   12. | \-reservr:::fit_dist.Distribution(...)
   13. |   \-reservr::as_trunc_obs(obs)
   14. |     \-reservr::trunc_obs(x = .data)
   15. |       \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   16. |         \-base::vapply(...)
   17. |           \-base::match.fun(FUN)
   18. \-base::loadNamespace(x)
   19.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_normal.R:7'): normal distribution works -------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit(dist, x)) at test-dist_normal.R:7:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-generics::fit(dist, x)
   10. +-reservr:::fit.Distribution(dist, x)
   11. | +-reservr::fit_dist(dist = object, obs = obs, start = start, ...)
   12. | \-reservr:::fit_dist.Distribution(...)
   13. |   \-reservr::as_trunc_obs(obs)
   14. |     \-reservr::trunc_obs(x = .data)
   15. |       \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   16. |         \-base::vapply(...)
   17. |           \-base::match.fun(FUN)
   18. \-base::loadNamespace(x)
   19.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_pareto.R:5'): pareto distribution works -------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-dist$sample(100L, with_params = params) at test-dist_pareto.R:5:2
   2. | \-private$.sample_impl(n = n, params = params)
   3. |   +-base::do.call(`<fn>`, c(list(n = n), params))
   4. |   \-reservr (local) `<fn>`(n = 100L, shape = `<dbl>`, scale = `<dbl>`)
   5. |     \-reservr:::check_lengths(shape, scale, .len = n, .msg = "n")
   6. |       \-base::vapply(...)
   7. |         \-base::match.fun(FUN)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_poisson.R:7'): poisson distribution works -----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit(dist, x)) at test-dist_poisson.R:7:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-generics::fit(dist, x)
   10. +-reservr:::fit.Distribution(dist, x)
   11. | +-reservr::fit_dist(dist = object, obs = obs, start = start, ...)
   12. | \-reservr:::fit_dist.Distribution(...)
   13. |   \-reservr::as_trunc_obs(obs)
   14. |     \-reservr::trunc_obs(x = .data)
   15. |       \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   16. |         \-base::vapply(...)
   17. |           \-base::match.fun(FUN)
   18. \-base::loadNamespace(x)
   19.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_translate.R:13'): test dist_translate ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit(dist, x)) at test-dist_translate.R:13:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-generics::fit(dist, x)
   10. +-reservr:::fit.Distribution(dist, x)
   11. | +-reservr::fit_dist(dist = object, obs = obs, start = start, ...)
   12. | \-reservr:::fit_dist.TranslatedDistribution(...)
   13. |   \-reservr::as_trunc_obs(obs)
   14. |     \-reservr::trunc_obs(x = .data)
   15. |       \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   16. |         \-base::vapply(...)
   17. |           \-base::match.fun(FUN)
   18. \-base::loadNamespace(x)
   19.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_trunc.R:13'): test dist_trunc -----------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit(dist, x)) at test-dist_trunc.R:13:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-generics::fit(dist, x)
   10. +-reservr:::fit.Distribution(dist, x)
   11. | +-reservr::fit_dist(dist = object, obs = obs, start = start, ...)
   12. | \-reservr:::fit_dist.Distribution(...)
   13. |   \-reservr::as_trunc_obs(obs)
   14. |     \-reservr::trunc_obs(x = .data)
   15. |       \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   16. |         \-base::vapply(...)
   17. |           \-base::match.fun(FUN)
   18. \-base::loadNamespace(x)
   19.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_uniform.R:7'): uniform distribution works -----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit(dist, x)) at test-dist_uniform.R:7:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-generics::fit(dist, x)
   10. +-reservr:::fit.Distribution(dist, x)
   11. | +-reservr::fit_dist(dist = object, obs = obs, start = start, ...)
   12. | \-reservr:::fit_dist.UniformDistribution(...)
   13. |   \-reservr::as_trunc_obs(obs)
   14. |     \-reservr::trunc_obs(x = .data)
   15. |       \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   16. |         \-base::vapply(...)
   17. |           \-base::match.fun(FUN)
   18. \-base::loadNamespace(x)
   19.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-dist_weibull.R:7'): weibull distribution works -----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(fit(dist, x)) at test-dist_weibull.R:7:2
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-generics::fit(dist, x)
   10. +-reservr:::fit.Distribution(dist, x)
   11. | +-reservr::fit_dist(dist = object, obs = obs, start = start, ...)
   12. | \-reservr:::fit_dist.Distribution(...)
   13. |   \-reservr::as_trunc_obs(obs)
   14. |     \-reservr::trunc_obs(x = .data)
   15. |       \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   16. |         \-base::vapply(...)
   17. |           \-base::match.fun(FUN)
   18. \-base::loadNamespace(x)
   19.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-distribution_generics.R:16'): fit_dist_direct works ------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-dist$sample(100, with_params = true_params) at test-distribution_generics.R:16:2
   2. | \-self$require_capability("sample")
   3. |   \-self$has_capability(caps)
   4. |     +-matrixStats::rowAlls(...)
   5. |     \-reservr:::map_lgl_matrix(...)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-integrate.R:2'): test integration of univariate function -------
  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-integrate.R:2:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-reservr::integrate_gk(sin, 0, c(1, 2) * pi)
   5. | \-reservr:::check_lengths(lower, upper)
   6. |   \-base::vapply(...)
   7. |     \-base::match.fun(FUN)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-integrate.R:11'): test integration of function with parameters --
  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-integrate.R:11:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-reservr::integrate_gk(intfun, lower, upper, params)
   5. | \-reservr:::check_lengths(lower, upper)
   6. |   \-base::vapply(...)
   7. |     \-base::match.fun(FUN)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-integrate.R:25'): slow convergence still yields acceptable results --
  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-integrate.R:25:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-reservr::integrate_gk(...)
   5. | \-reservr:::check_lengths(lower, upper)
   6. |   \-base::vapply(...)
   7. |     \-base::match.fun(FUN)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-plot_distributions.R:29'): test plot_distributions -------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-base::eval(...)
   2. | \-base::eval(...)
   3. |   \-reservr::plot_distributions(...) at test-plot_distributions.R:29:6
   4. |     \-reservr:::check_lengths(...)
   5. |       \-base::vapply(...)
   6. |         \-base::match.fun(FUN)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-prob_report.R:2'): test prob_report ----------------------------
  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-prob_report.R:2:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-reservr::prob_report(...)
    5. | \-reservr::integrate_gk(...)
    6. |   \-reservr:::check_lengths(lower, upper)
    7. |     \-base::vapply(...)
    8. |       \-base::match.fun(FUN)
    9. \-base::loadNamespace(x)
   10.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-trunc_obs.R:2'): test trunc_obs --------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-reservr::trunc_obs(1:3) at test-trunc_obs.R:2:2
   2. | \-reservr:::check_lengths(xmin, max, tmin, tmax, w, .len = n, .msg = "number of observations")
   3. |   \-base::vapply(...)
   4. |     \-base::match.fun(FUN)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-truncate_claims.R:7'): test truncate_claims --------------------
  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-truncate_claims.R:7:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-reservr::truncate_claims(x, t_acc, repdel, Inf)
   5. | \-reservr:::check_lengths(...)
   6. |   \-base::vapply(...)
   7. |     \-base::match.fun(FUN)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 36 | WARN 0 | SKIP 12 | PASS 118 ]
  Error: Test failures
  Execution halted