Running 'testthat.R' [34s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(multinma)
  For execution on a local, multicore CPU with excess RAM we recommend calling
  options(mc.cores = parallel::detectCores())
  
  Attaching package: 'multinma'
  
  The following objects are masked from 'package:stats':
  
      dgamma, pgamma, qgamma
  
  > 
  > nowarn_on_ci <- function(expr, ...) {
  +   if (isTRUE(as.logical(Sys.getenv("CI")))) {
  +     suppressWarnings(expr, ...)
  +   } else {
  +     expr
  +   }
  + }
  > 
  > test_check("multinma")
  [ FAIL 85 | WARN 1 | SKIP 12 | PASS 191 ]
  
  == Skipped tests ===============================================================
  * On CRAN (12)
  
  == Failed tests ================================================================
  -- Error ('test-add_integration.R:3'): (code run outside of `test_that()`) -----
  Error: package 'purrr' is not installed for 'arch = i386'
  Backtrace:
      x
   1. \-base::library(purrr) at test-add_integration.R:3:0
   2.   \-base (local) testRversion(pkgInfo, package, pkgpath)
  -- Error ('test-breaks_integer.R:2'): (code run outside of `test_that()`) ------
  Error: package or namespace load failed for 'tidyr' in library.dynam(lib, package, package.lib):
   DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. \-base::library(tidyr) at test-breaks_integer.R:2:0
   2.   \-base::tryCatch(...)
   3.     \-base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         \-value[[3L]](cond)
  -- Failure ('test-data_combine.R:7'): combine_network error if not passed nma_data objects --
  `combine_network(1)` threw an error with unexpected message.
  Expected match: "Expecting to combine objects of class `nma_data`, created using set_\\* functions"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(combine_network(1), msg) at test-data_combine.R:7:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::combine_network(1)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-data_combine.R:8'): combine_network error if not passed nma_data objects --
  `combine_network(1, 2)` threw an error with unexpected message.
  Expected match: "Expecting to combine objects of class `nma_data`, created using set_\\* functions"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(combine_network(1, 2), msg) at test-data_combine.R:8:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::combine_network(1, 2)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-data_combine.R:9'): combine_network error if not passed nma_data objects --
  `combine_network(...)` threw an error with unexpected message.
  Expected match: "Expecting to combine objects of class `nma_data`, created using set_\\* functions"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_combine.R:9:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::combine_network(...)
    7. +-multinma::set_agd_arm(smoking, studyn, trtc, r = r, n = n)
    8. | \-multinma:::get_default_trt_ref(out)
    9. \-base::loadNamespace(x)
   10.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-data_combine.R:10'): combine_network error if not passed nma_data objects --
  `combine_network(...)` threw an error with unexpected message.
  Expected match: "Expecting to combine objects of class `nma_data`, created using set_\\* functions"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_combine.R:10:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::combine_network(...)
    7. +-multinma::set_agd_arm(smoking, studyn, trtc, r = r, n = n)
    8. | \-multinma:::get_default_trt_ref(out)
    9. \-base::loadNamespace(x)
   10.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_combine.R:30'): (code run outside of `test_that()`) -------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-multinma::set_agd_arm(agd_arm, studyf, trtf, y = y, se = se) at test-data_combine.R:30:0
   2. | \-multinma:::get_default_trt_ref(out)
   3. \-base::loadNamespace(x)
   4.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:119'): set_agd_arm - continuous outcome checks work --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equivalent(...) at test-data_set.R:119:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_agd_arm(agd_arm, "studyn", "trtc", y = cont, se = cont_pos)
   5. | \-multinma:::get_default_trt_ref(out)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:144'): set_agd_arm - count outcome checks work ------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equivalent(...) at test-data_set.R:144:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_agd_arm(agd_arm, "studyn", "trtc", r = disc, n = disc_p1)
   5. | \-multinma:::get_default_trt_ref(out)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-data_set.R:186'): set_agd_arm - multinomial outcome checks work --
  `set_agd_arm(agd_arm, studyn, trtc, r = multi(disc, 1:2))` threw an error with unexpected message.
  Expected match: "must be the same length"
  Actual message: "Problem while computing `..1 = multi(disc, 1:2)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:186:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_agd_arm(...)
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(disc, 1:2)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:188'): set_agd_arm - multinomial outcome checks work --
  `set_agd_arm(agd_arm, studyn, trtc, r = multi(disc, disc_inf))` threw an error with unexpected message.
  Expected match: "cannot be Inf"
  Actual message: "Problem while computing `..1 = multi(disc, disc_inf)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:188:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_agd_arm(...)
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(disc, disc_inf)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:190'): set_agd_arm - multinomial outcome checks work --
  `set_agd_arm(agd_arm, studyn, trtc, r = multi(disc, disc_nan))` threw an error with unexpected message.
  Expected match: "cannot be NaN"
  Actual message: "Problem while computing `..1 = multi(disc, disc_nan)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:190:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_agd_arm(...)
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(disc, disc_nan)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:192'): set_agd_arm - multinomial outcome checks work --
  `set_agd_arm(agd_arm, studyn, trtc, r = multi(disc, trtc))` threw an error with unexpected message.
  Expected match: "must be numeric"
  Actual message: "Problem while computing `..1 = multi(disc, trtc)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:192:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_agd_arm(...)
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(disc, trtc)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:194'): set_agd_arm - multinomial outcome checks work --
  `set_agd_arm(agd_arm, studyn, trtc, r = multi(disc, cont_pos))` threw an error with unexpected message.
  Expected match: "must be integer"
  Actual message: "Problem while computing `..1 = multi(disc, cont_pos)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:194:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_agd_arm(...)
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(disc, cont_pos)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:196'): set_agd_arm - multinomial outcome checks work --
  `set_agd_arm(agd_arm, studyn, trtc, r = multi(disc, disc_neg))` threw an error with unexpected message.
  Expected match: "must be non-negative"
  Actual message: "Problem while computing `..1 = multi(disc, disc_neg)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:196:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_agd_arm(...)
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(disc, disc_neg)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:199'): set_agd_arm - multinomial outcome checks work --
  `set_agd_arm(...)` threw an error with unexpected message.
  Expected match: "must be decreasing or constant"
  Actual message: "Problem while computing `..1 = multi(r_c, r_b, r_a, inclusive = TRUE)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:199:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_agd_arm(...)
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(r_c, r_b, r_a, inclusive = TRUE)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Error ('test-data_set.R:201'): set_agd_arm - multinomial outcome checks work --
  <dplyr:::mutate_error/rlang_error/error/condition>
  Error in `dplyr::transmute(data, {
      {
          var
      }
  })`: Problem while computing `..1 = multi(r_a, r_b, r_c, inclusive = TRUE)`.
  Caused by error in `library.dynam()`:
  ! DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_equivalent(...) at test-data_set.R:201:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-multinma::set_agd_arm(...)
    5. | \-multinma:::pull_non_null(data, enquo(r))
    6. |   +-dplyr::pull(...)
    7. |   +-dplyr::transmute(...)
    8. |   \-dplyr:::transmute.data.frame(...)
    9. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   10. |       +-base::withCallingHandlers(...)
   11. |       \-mask$eval_all_mutate(quo)
   12. +-multinma::multi(r_a, r_b, r_c, inclusive = TRUE)
   13. +-base::loadNamespace(x)
   14. | \-base::library.dynam(lib, package, package.lib)
   15. |   \-base::stop(...)
   16. \-base::.handleSimpleError(...)
   17.   \-dplyr (local) h(simpleError(msg, call))
   18.     \-rlang::abort(...)
  -- Error ('test-data_set.R:227'): set_agd_arm - sample size checks work --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_message(...) at test-data_set.R:227:2
   2. | \-testthat:::quasi_capture(enquo(object), label, capture_messages)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::set_agd_arm(agd_arm, studyn, trtc, y = cont, se = cont_pos)
   7. | \-multinma:::get_default_trt_ref(out)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:240'): set_ipd - continuous outcome checks work -----
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equivalent(...) at test-data_set.R:240:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_ipd(agd_arm, "studyn", "trtc", y = cont)
   5. | \-multinma:::get_default_trt_ref(out)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:265'): set_ipd - binary outcome checks work ---------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equivalent(...) at test-data_set.R:265:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_ipd(agd_arm, "studyn", "trtc", r = bin, E = cont_pos)
   5. | \-multinma:::get_default_trt_ref(out)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-data_set.R:281'): set_ipd - multinomial outcome checks work --
  `set_ipd(agd_arm, studyn, trtc, r = multi(bin, 1:2))` threw an error with unexpected message.
  Expected match: "must be the same length"
  Actual message: "Problem while computing `..1 = multi(bin, 1:2)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:281:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_ipd(agd_arm, studyn, trtc, r = multi(bin, 1:2))
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(bin, 1:2)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:283'): set_ipd - multinomial outcome checks work --
  `set_ipd(agd_arm, studyn, trtc, r = multi(disc, disc_inf))` threw an error with unexpected message.
  Expected match: "cannot be Inf"
  Actual message: "Problem while computing `..1 = multi(disc, disc_inf)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:283:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_ipd(agd_arm, studyn, trtc, r = multi(disc, disc_inf))
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(disc, disc_inf)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:285'): set_ipd - multinomial outcome checks work --
  `set_ipd(agd_arm, studyn, trtc, r = multi(disc, disc_nan))` threw an error with unexpected message.
  Expected match: "cannot be NaN"
  Actual message: "Problem while computing `..1 = multi(disc, disc_nan)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:285:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_ipd(agd_arm, studyn, trtc, r = multi(disc, disc_nan))
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(disc, disc_nan)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:287'): set_ipd - multinomial outcome checks work --
  `set_ipd(agd_arm, studyn, trtc, r = multi(disc, trtc))` threw an error with unexpected message.
  Expected match: "must be numeric"
  Actual message: "Problem while computing `..1 = multi(disc, trtc)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:287:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_ipd(agd_arm, studyn, trtc, r = multi(disc, trtc))
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(disc, trtc)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:289'): set_ipd - multinomial outcome checks work --
  `set_ipd(agd_arm, studyn, trtc, r = multi(bin, bin + 1))` threw an error with unexpected message.
  Expected match: "must equal 0 or 1"
  Actual message: "Problem while computing `..1 = multi(bin, bin + 1)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:289:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_ipd(...)
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(bin, bin + 1)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:291'): set_ipd - multinomial outcome checks work --
  `set_ipd(agd_arm, studyn, trtc, r = multi(bin, -bin))` threw an error with unexpected message.
  Expected match: "must be non-negative"
  Actual message: "Problem while computing `..1 = multi(bin, -bin)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:291:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_ipd(agd_arm, studyn, trtc, r = multi(bin, -bin))
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(bin, -bin)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:310'): set_ipd - multinomial outcome checks work --
  `set_ipd(...)` threw an error with unexpected message.
  Expected match: "must be decreasing or constant"
  Actual message: "Problem while computing `..1 = multi(r_c, r_b, r_a, inclusive = TRUE)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:310:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_ipd(...)
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(r_c, r_b, r_a, inclusive = TRUE)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Failure ('test-data_set.R:312'): set_ipd - multinomial outcome checks work --
  `set_ipd(...)` threw an error with unexpected message.
  Expected match: "Individual without outcomes in any category, row 3"
  Actual message: "Problem while computing `..1 = multi(r_b, r_c, inclusive = TRUE)`.\nCaused by error in `library.dynam()`:\n! DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-data_set.R:312:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-multinma::set_ipd(...)
    7. | \-multinma:::pull_non_null(data, enquo(r))
    8. |   +-dplyr::pull(...)
    9. |   +-dplyr::transmute(...)
   10. |   \-dplyr:::transmute.data.frame(...)
   11. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   12. |       +-base::withCallingHandlers(...)
   13. |       \-mask$eval_all_mutate(quo)
   14. +-multinma::multi(r_b, r_c, inclusive = TRUE)
   15. +-base::loadNamespace(x)
   16. | \-base::library.dynam(lib, package, package.lib)
   17. |   \-base::stop(...)
   18. \-base::.handleSimpleError(...)
   19.   \-dplyr (local) h(simpleError(msg, call))
   20.     \-rlang::abort(...)
  -- Error ('test-data_set.R:314'): set_ipd - multinomial outcome checks work ----
  <dplyr:::mutate_error/rlang_error/error/condition>
  Error in `dplyr::transmute(data, {
      {
          var
      }
  })`: Problem while computing `..1 = multi(r_a, r_b, r_c, inclusive = TRUE)`.
  Caused by error in `library.dynam()`:
  ! DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_equivalent(...) at test-data_set.R:314:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-multinma::set_ipd(...)
    5. | \-multinma:::pull_non_null(data, enquo(r))
    6. |   +-dplyr::pull(...)
    7. |   +-dplyr::transmute(...)
    8. |   \-dplyr:::transmute.data.frame(...)
    9. |     \-dplyr:::mutate_cols(.data, dots, caller_env = caller_env())
   10. |       +-base::withCallingHandlers(...)
   11. |       \-mask$eval_all_mutate(quo)
   12. +-multinma::multi(r_a, r_b, r_c, inclusive = TRUE)
   13. +-base::loadNamespace(x)
   14. | \-base::library.dynam(lib, package, package.lib)
   15. |   \-base::stop(...)
   16. \-base::.handleSimpleError(...)
   17.   \-dplyr (local) h(simpleError(msg, call))
   18.     \-rlang::abort(...)
  -- Error ('test-data_set.R:352'): set_agd_contrast - continuous outcome checks work --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equivalent(...) at test-data_set.R:352:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_agd_contrast(...)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:381'): set_agd_contrast - sample size checks work ---
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_message(...) at test-data_set.R:381:2
   2. | \-testthat:::quasi_capture(enquo(object), label, capture_messages)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::set_agd_contrast(...)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-data_set.R:390'): set_agd_contrast - positive definite check --
  `set_agd_contrast(...)` threw an error with unexpected message.
  Expected match: "not positive definite for study \"2\""
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-data_set.R:390:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::set_agd_contrast(...)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-data_set.R:392'): set_agd_contrast - positive definite check --
  `set_agd_contrast(...)` threw an error with unexpected message.
  Expected match: "not positive definite for study \"b\""
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-data_set.R:392:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::set_agd_contrast(...)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-data_set.R:398'): set_agd_contrast - positive definite check --
  `set_agd_contrast(...)` threw an error with unexpected message.
  Expected match: "not positive definite for studies \"2\" and \"3\""
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-data_set.R:398:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::set_agd_contrast(...)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-data_set.R:400'): set_agd_contrast - positive definite check --
  `set_agd_contrast(...)` threw an error with unexpected message.
  Expected match: "not positive definite for studies \"b\" and \"c\""
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-data_set.R:400:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::set_agd_contrast(...)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:412'): set_* `.trt` column is correct ---------------
  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-data_set.R:412:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_ipd(agd_arm, studyc, trtc, y = cont)
   5. | \-multinma:::get_default_trt_ref(out)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:471'): set_* `.study` column is correct -------------
  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-data_set.R:471:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_ipd(agd_arm, studyc, trtc, y = cont)
   5. | \-multinma:::get_default_trt_ref(out)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:547'): set_* return default `treatments` factor -----
  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-data_set.R:547:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_ipd(agd_arm, studyc, trtc, y = cont)
   5. | \-multinma:::get_default_trt_ref(out)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:561'): set_* can set `trt_ref` ----------------------
  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-data_set.R:561:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_agd_contrast(...)
   5. \-base::loadNamespace(x)
   6.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:632'): set_* returns correct .trtclass column -------
  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-data_set.R:632:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_ipd(agd_arm, studyc, trtc, y = cont, trt_class = tclassc)
   5. | \-multinma:::get_default_trt_ref(out)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:751'): set_* returns classes factor variable --------
  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-data_set.R:751:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_ipd(agd_arm, studyc, trtc, y = cont, trt_class = tclassc)
   5. | \-multinma:::get_default_trt_ref(out)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-data_set.R:954'): set_* return `studies` factor ----------------
  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-data_set.R:954:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-multinma::set_ipd(agd_arm, studyc, trtc, y = cont)
   5. | \-multinma:::get_default_trt_ref(out)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-multi.R:11'): `inclusive` argument is validated ----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_warning(...) at test-multi.R:11:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(1, 2, inclusive = TRUE, type = "competing")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:31'): basic validation of `...` ----------------------
  `multi(1:2, 1:4)` threw an error with unexpected message.
  Expected match: "must be the same length"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(multi(1:2, 1:4), "must be the same length") at test-multi.R:31:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(1:2, 1:4)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:32'): basic validation of `...` ----------------------
  `multi(a = 1, b = Inf)` threw an error with unexpected message.
  Expected match: "cannot be Inf"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(multi(a = 1, b = Inf), "cannot be Inf") at test-multi.R:32:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(a = 1, b = Inf)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:33'): basic validation of `...` ----------------------
  `multi(a = 1, b = NaN)` threw an error with unexpected message.
  Expected match: "cannot be NaN"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(multi(a = 1, b = NaN), "cannot be NaN") at test-multi.R:33:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(a = 1, b = NaN)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:34'): basic validation of `...` ----------------------
  `multi(a = 1, b = "a")` threw an error with unexpected message.
  Expected match: "must be numeric"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(multi(a = 1, b = "a"), "must be numeric") at test-multi.R:34:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(a = 1, b = "a")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:35'): basic validation of `...` ----------------------
  `multi(a = 1, b = 1.5)` threw an error with unexpected message.
  Expected match: "must be integer"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(multi(a = 1, b = 1.5), "must be integer") at test-multi.R:35:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(a = 1, b = 1.5)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:36'): basic validation of `...` ----------------------
  `multi(a = 1, b = -1)` threw an error with unexpected message.
  Expected match: "must be non-negative"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(multi(a = 1, b = -1), "must be non-negative") at test-multi.R:36:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(a = 1, b = -1)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:61'): ordered inclusive outcome validation -----------
  `multi(1, 2, 3, inclusive = TRUE, type = "ordered")` threw an error with unexpected message.
  Expected match: "must be decreasing or constant across increasing categories.+row 1"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-multi.R:61:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(1, 2, 3, inclusive = TRUE, type = "ordered")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:62'): ordered inclusive outcome validation -----------
  `multi(5, 4, 6, inclusive = TRUE, type = "ordered")` threw an error with unexpected message.
  Expected match: "must be decreasing or constant across increasing categories.+row 1"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-multi.R:62:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(5, 4, 6, inclusive = TRUE, type = "ordered")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:63'): ordered inclusive outcome validation -----------
  `multi(5, NA, 6, inclusive = TRUE, type = "ordered")` threw an error with unexpected message.
  Expected match: "must be decreasing or constant across increasing categories.+row 1"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-multi.R:63:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(5, NA, 6, inclusive = TRUE, type = "ordered")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:64'): ordered inclusive outcome validation -----------
  `with(df_inclusive[-7, ], multi(c, b, a, inclusive = TRUE, type = "ordered"))` threw an error with unexpected message.
  Expected match: "must be decreasing or constant across increasing categories.+rows 2, 3, 4, 5 and 6"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-multi.R:64:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-base::with(...)
    7. +-base::with.default(...)
    8. | \-base::eval(substitute(expr), data, enclos = parent.frame())
    9. |   \-base::eval(substitute(expr), data, enclos = parent.frame())
   10. |     \-multinma::multi(c, b, a, inclusive = TRUE, type = "ordered")
   11. \-base::loadNamespace(x)
   12.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:66'): ordered inclusive outcome validation -----------
  `multi(a = NA, b = 10, c = 5, inclusive = TRUE, type = "ordered")` threw an error with unexpected message.
  Expected match: "cannot be missing in the lowest category.+row 1"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-multi.R:66:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(a = NA, b = 10, c = 5, inclusive = TRUE, type = "ordered")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:69'): ordered inclusive outcome validation -----------
  `multi(a = 10, b = NA, inclusive = TRUE, type = "ordered")` threw an error with unexpected message.
  Expected match: "must be present for at least 2 categories.+row 1"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-multi.R:69:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(a = 10, b = NA, inclusive = TRUE, type = "ordered")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-multi.R:72'): ordered inclusive outcome validation -------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-base::with(df_inclusive, multi(a, b, c, inclusive = TRUE, type = "ordered")) at test-multi.R:72:2
   2. +-base::with.default(...)
   3. | \-base::eval(substitute(expr), data, enclos = parent.frame())
   4. |   \-base::eval(substitute(expr), data, enclos = parent.frame())
   5. |     \-multinma::multi(a, b, c, inclusive = TRUE, type = "ordered")
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:82'): exclusive outcome validation -------------------
  `multi(a = NA, b = 10, c = 5, inclusive = FALSE, type = "ordered")` threw an error with unexpected message.
  Expected match: "cannot be missing in the lowest category.+row 1"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-multi.R:82:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(a = NA, b = 10, c = 5, inclusive = FALSE, type = "ordered")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:85'): exclusive outcome validation -------------------
  `multi(a = 10, b = NA, inclusive = FALSE, type = "ordered")` threw an error with unexpected message.
  Expected match: "must be present for at least 2 categories.+row 1"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-multi.R:85:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(a = 10, b = NA, inclusive = FALSE, type = "ordered")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-multi.R:87'): exclusive outcome validation -------------------
  `multi(a = 10, b = NA, inclusive = FALSE, type = "competing")` threw an error with unexpected message.
  Expected match: "must be present for at least 2 categories.+row 1"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-multi.R:87:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::multi(a = 10, b = NA, inclusive = FALSE, type = "competing")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-multi.R:90'): exclusive outcome validation ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-base::with(df_exclusive, multi(a, b, c, inclusive = FALSE, type = "ordered")) at test-multi.R:90:2
   2. +-base::with.default(...)
   3. | \-base::eval(substitute(expr), data, enclos = parent.frame())
   4. |   \-base::eval(substitute(expr), data, enclos = parent.frame())
   5. |     \-multinma::multi(a, b, c, inclusive = FALSE, type = "ordered")
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:18'): nma() consistency argument must be one listed ----
  `nma(smknet, consistency = "con")` threw an error with unexpected message.
  Expected match: "`consistency` must be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, consistency = "con"), m) at test-nma.R:18:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, consistency = "con")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:19'): nma() consistency argument must be one listed ----
  `nma(smknet, consistency = "a")` threw an error with unexpected message.
  Expected match: "`consistency` must be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, consistency = "a"), m) at test-nma.R:19:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, consistency = "a")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:20'): nma() consistency argument must be one listed ----
  `nma(smknet, consistency = 1)` threw an error with unexpected message.
  Expected match: "`consistency` must be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, consistency = 1), m) at test-nma.R:20:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, consistency = 1)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:21'): nma() consistency argument must be one listed ----
  `nma(smknet, consistency = NA)` threw an error with unexpected message.
  Expected match: "`consistency` must be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, consistency = NA), m) at test-nma.R:21:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, consistency = NA)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:22'): nma() consistency argument must be one listed ----
  `nma(smknet, consistency = NULL)` threw an error with unexpected message.
  Expected match: "`consistency` must be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, consistency = NULL), m) at test-nma.R:22:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, consistency = NULL)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:30'): nma() trt_effects argument must be one listed ----
  `nma(smknet, trt_effects = "fix")` threw an error with unexpected message.
  Expected match: "`trt_effects` must be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, trt_effects = "fix"), m) at test-nma.R:30:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, trt_effects = "fix")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:31'): nma() trt_effects argument must be one listed ----
  `nma(smknet, trt_effects = "a")` threw an error with unexpected message.
  Expected match: "`trt_effects` must be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, trt_effects = "a"), m) at test-nma.R:31:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, trt_effects = "a")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:32'): nma() trt_effects argument must be one listed ----
  `nma(smknet, trt_effects = 1)` threw an error with unexpected message.
  Expected match: "`trt_effects` must be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, trt_effects = 1), m) at test-nma.R:32:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, trt_effects = 1)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:33'): nma() trt_effects argument must be one listed ----
  `nma(smknet, trt_effects = NA)` threw an error with unexpected message.
  Expected match: "`trt_effects` must be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, trt_effects = NA), m) at test-nma.R:33:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, trt_effects = NA)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:34'): nma() trt_effects argument must be one listed ----
  `nma(smknet, trt_effects = NULL)` threw an error with unexpected message.
  Expected match: "`trt_effects` must be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, trt_effects = NULL), m) at test-nma.R:34:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, trt_effects = NULL)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:42'): nma() likelihood must be valid -------------------
  `nma(smknet, likelihood = 1)` threw an error with unexpected message.
  Expected match: "`likelihood` should be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, likelihood = 1), m) at test-nma.R:42:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, likelihood = 1)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:43'): nma() likelihood must be valid -------------------
  `nma(smknet, likelihood = "a")` threw an error with unexpected message.
  Expected match: "`likelihood` should be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, likelihood = "a"), m) at test-nma.R:43:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, likelihood = "a")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:44'): nma() likelihood must be valid -------------------
  `nma(smknet, likelihood = "norm")` threw an error with unexpected message.
  Expected match: "`likelihood` should be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, likelihood = "norm"), m) at test-nma.R:44:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, likelihood = "norm")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:45'): nma() likelihood must be valid -------------------
  `nma(smknet, likelihood = c("normal", "bernoulli"))` threw an error with unexpected message.
  Expected match: "`likelihood` should be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-nma.R:45:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, likelihood = c("normal", "bernoulli"))
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:50'): nma() link must be valid -------------------------
  `nma(smknet, link = 1)` threw an error with unexpected message.
  Expected match: "`link` should be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, link = 1), m) at test-nma.R:50:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, link = 1)
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:51'): nma() link must be valid -------------------------
  `nma(smknet, link = "a")` threw an error with unexpected message.
  Expected match: "`link` should be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, link = "a"), m) at test-nma.R:51:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, link = "a")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:52'): nma() link must be valid -------------------------
  `nma(smknet, link = "lo")` threw an error with unexpected message.
  Expected match: "`link` should be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(nma(smknet, link = "lo"), m) at test-nma.R:52:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, link = "lo")
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Failure ('test-nma.R:53'): nma() link must be valid -------------------------
  `nma(smknet, link = c("log", "identity"))` threw an error with unexpected message.
  Expected match: "`link` should be"
  Actual message: "DLL 'purrr' not found: maybe not installed for this architecture?"
  Backtrace:
      x
   1. +-testthat::expect_error(...) at test-nma.R:53:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat (local) .capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. +-multinma::nma(smknet, link = c("log", "identity"))
   7. \-base::loadNamespace(x)
   8.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-nma.R:84'): (code run outside of `test_that()`) ----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-multinma::set_agd_arm(smkdummy, studyn, trtn, r = r, n = n) at test-nma.R:84:0
   2. | \-multinma:::get_default_trt_ref(out)
   3. \-base::loadNamespace(x)
   4.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-nodesplit.R:11'): (code run outside of `test_that()`) ----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-multinma::set_agd_arm(thrombolytics, studyn, trtc, r = r, n = n) at test-nodesplit.R:11:0
   2. | \-multinma:::get_default_trt_ref(out)
   3. \-base::loadNamespace(x)
   4.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-plot_integration_error.R:10'): (code run outside of `test_that()`) --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-multinma::nma(...) at test-plot_integration_error.R:10:0
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-posterior_ranks.R:10'): (code run outside of `test_that()`) ----
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-multinma::nma(...) at test-posterior_ranks.R:10:0
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-predict.R:10'): (code run outside of `test_that()`) ------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-multinma::nma(...) at test-predict.R:10:0
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-priors.R:57'): summary.nma_prior sense check -------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_output(...) at test-priors.R:57:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-testthat::capture_output_lines(code, print, width = width)
    5. |   |   \-testthat:::eval_with_output(code, print = print, width = width)
    6. |   |     +-withr::with_output_sink(path, withVisible(code))
    7. |   |     | \-base::force(code)
    8. |   |     \-base::withVisible(code)
    9. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. +-base::summary(p, probs = 0.95, digits = 2)
   11. +-multinma:::summary.nma_prior(p, probs = 0.95, digits = 2)
   12. | \-... %>% ...
   13. +-dplyr::group_by(., .data[["dist"]], .data[["probs"]])
   14. \-base::loadNamespace(x)
   15.   +-base::namespaceImportFrom(...)
   16.   | \-base::asNamespace(ns)
   17.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   18.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-relative_effects.R:10'): (code run outside of `test_that()`) ---
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-multinma::nma(...) at test-relative_effects.R:10:0
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 85 | WARN 1 | SKIP 12 | PASS 191 ]
  Error: Test failures
  Execution halted