Running 'testthat.R' [73s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(rmdcev)
  Loading required package: Rcpp
  This is rmdcev version 1.2.4
  > test_check("rmdcev")
  
  SAMPLING FOR MODEL 'mdcev' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.016 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 160 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.203 seconds (Warm-up)
  Chain 1:                0.062 seconds (Sampling)
  Chain 1:                0.265 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.078 seconds (Warm-up)
  Chain 1:                0.063 seconds (Sampling)
  Chain 1:                0.141 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 3.033 seconds (Warm-up)
  Chain 1:                0.203 seconds (Sampling)
  Chain 1:                3.236 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
  Chain 1: Rejecting initial value:
  Chain 1:   Log probability evaluates to log(0), i.e. negative infinity.
  Chain 1:   Stan can't start sampling from this initial value.
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.596 seconds (Warm-up)
  Chain 1:                0.171 seconds (Sampling)
  Chain 1:                0.767 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 2.059 seconds (Warm-up)
  Chain 1:                0.062 seconds (Sampling)
  Chain 1:                2.121 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.093 seconds (Warm-up)
  Chain 1:                0.031 seconds (Sampling)
  Chain 1:                0.124 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'mdcev_rp' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: WARNING: No variance estimation is
  Chain 1:          performed for num_warmup < 20
  Chain 1: 
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.047 seconds (Warm-up)
  Chain 1:                0.047 seconds (Sampling)
  Chain 1:                0.094 seconds (Total)
  Chain 1: 
  [1] -2653.237036
  [1] 5467.655029
  [1] -2770.001936
  [1] -5073.715462
  [ FAIL 22 | WARN 0 | SKIP 1 | PASS 40 ]
  
  == Skipped tests ===============================================================
  * empty test (1)
  
  == Failed tests ================================================================
  -- Error ('test-bayes.R:29'): Bayes hybrid0 specification ----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-base::summary(output) at test-bayes.R:29:8
   2. +-base::summary(output)
   3. +-rmdcev:::summary.mdcev(output)
   4. | \-output %>% ...
   5. \-base::loadNamespace(x)
   6.   +-base::namespaceImportFrom(...)
   7.   | \-base::asNamespace(ns)
   8.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   9.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-bayes.R:62'): Bayes gamma specification no gamma/psi ascs ------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-base::summary(output) at test-bayes.R:62:8
   2. +-base::summary(output)
   3. +-rmdcev:::summary.mdcev(output)
   4. | \-output %>% ...
   5. \-base::loadNamespace(x)
   6.   +-base::namespaceImportFrom(...)
   7.   | \-base::asNamespace(ns)
   8.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   9.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-bayes.R:95'): Bayes gamma uncorr specification -----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-base::summary(output) at test-bayes.R:95:8
   2. +-base::summary(output)
   3. +-rmdcev:::summary.mdcev(output)
   4. | \-output %>% ...
   5. \-base::loadNamespace(x)
   6.   +-base::namespaceImportFrom(...)
   7.   | \-base::asNamespace(ns)
   8.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   9.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-bayes.R:127'): Bayes gamma corr specification ------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-base::summary(output) at test-bayes.R:127:8
   2. +-base::summary(output)
   3. +-rmdcev:::summary.mdcev(output)
   4. | \-output %>% ...
   5. \-base::loadNamespace(x)
   6.   +-base::namespaceImportFrom(...)
   7.   | \-base::asNamespace(ns)
   8.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   9.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-bayes.R:159'): Bayes gamma corr specification with fixed gamma/alpha --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-base::summary(output) at test-bayes.R:159:8
   2. +-base::summary(output)
   3. +-rmdcev:::summary.mdcev(output)
   4. | \-output %>% ...
   5. \-base::loadNamespace(x)
   6.   +-base::namespaceImportFrom(...)
   7.   | \-base::asNamespace(ns)
   8.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   9.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-bayes.R:192'): Test Bayes kt_ee rp fixed -----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-base::summary(output) at test-bayes.R:192:8
   2. +-base::summary(output)
   3. +-rmdcev:::summary.mdcev(output)
   4. | \-output %>% ...
   5. \-base::loadNamespace(x)
   6.   +-base::namespaceImportFrom(...)
   7.   | \-base::asNamespace(ns)
   8.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   9.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-bayes.R:215'): Test Bayes kt_ee rp uncorrelated ----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-base::summary(output) at test-bayes.R:215:16
   2. +-base::summary(output)
   3. +-rmdcev:::summary.mdcev(output)
   4. | \-output %>% ...
   5. \-base::loadNamespace(x)
   6.   +-base::namespaceImportFrom(...)
   7.   | \-base::asNamespace(ns)
   8.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   9.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-choice.R:60'): MLE hybrid0 mvn draws ---------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-base::summary(output) at test-choice.R:60:8
    2. +-base::summary(output)
    3. +-rmdcev:::summary.mdcev(output)
    4. | \-... %>% ...
    5. +-dplyr::summarise(...)
    6. +-dplyr::group_by(., parms)
    7. +-dplyr::mutate(., parms = factor(parms, levels = unique(parms)))
    8. \-base::loadNamespace(x)
    9.   +-base::namespaceImportFrom(...)
   10.   | \-base::asNamespace(ns)
   11.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gen_data.R:10'): Generate gamma MDCEV data ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::GenerateMDCEVData(model = model, nobs = nobs, nalts = nalts) at test-gen_data.R:10:8
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gen_data.R:25'): Generate alpha MDCEV data ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::GenerateMDCEVData(...) at test-gen_data.R:25:8
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gen_data.R:39'): Generate hybrid0 MDCEV data -------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::GenerateMDCEVData(...) at test-gen_data.R:39:8
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-gen_data.R:53'): Generate kt_ee MDCEV data ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::GenerateMDCEVData(...) at test-gen_data.R:53:8
   2. \-base::loadNamespace(x)
   3.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-kt_ee.R:100'): Conditional error draw --------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::PrepareSimulationData(output, policies, nsims = 1) at test-kt_ee.R:100:0
   2. | \-est_pars %>% tibble::rowid_to_column("sim_id") %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-kt_ee.R:185'): unconditional error draw ------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::PrepareSimulationData(output, policies, nsims = 1) at test-kt_ee.R:185:8
   2. | \-est_pars %>% tibble::rowid_to_column("sim_id") %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-kt_ee.R:269'): Test full simulation function -------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::PrepareSimulationData(output, policies, nsims = 1) at test-kt_ee.R:269:8
   2. | \-est_pars %>% tibble::rowid_to_column("sim_id") %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-lc.R:56'): Test LC simulations ---------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::PrepareSimulationData(...) at test-lc.R:56:8
   2. | \-est_pars %>% tibble::rowid_to_column("sim_id") %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-simulations.R:25'): (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. +-rmdcev::PrepareSimulationData(result, policies, nsims = 3) at test-simulations.R:25:0
   2. | \-est_pars %>% tibble::rowid_to_column("sim_id") %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-welfare.R:25'): MLE hybrid0 unconditional ----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::PrepareSimulationData(output, policies, nsims = 2) at test-welfare.R:25:8
   2. | \-est_pars %>% tibble::rowid_to_column("sim_id") %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-welfare.R:50'): MLE hybrid unconditional -----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::PrepareSimulationData(output, policies, nsims = 2) at test-welfare.R:50:8
   2. | \-est_pars %>% tibble::rowid_to_column("sim_id") %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-welfare.R:75'): MLE gamma unconditional ------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::PrepareSimulationData(output, policies, nsims = 2) at test-welfare.R:75:8
   2. | \-est_pars %>% tibble::rowid_to_column("sim_id") %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-welfare.R:101'): MLE alpha unconditional -----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::PrepareSimulationData(output, policies, nsims = 2) at test-welfare.R:101:0
   2. | \-est_pars %>% tibble::rowid_to_column("sim_id") %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  -- Error ('test-welfare.R:128'): MLE kt_ee -------------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rmdcev::PrepareSimulationData(output, policies, nsims = 1) at test-welfare.R:128:8
   2. | \-est_pars %>% tibble::rowid_to_column("sim_id") %>% ...
   3. \-base::loadNamespace(x)
   4.   +-base::namespaceImportFrom(...)
   5.   | \-base::asNamespace(ns)
   6.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   7.     \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 22 | WARN 0 | SKIP 1 | PASS 40 ]
  Error: Test failures
  Execution halted