Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(hwep)
  > 
  > test_check("hwep")
  
  SAMPLING FOR MODEL 'gl_alt' 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: There aren't enough warmup iterations to fit the
  Chain 1:          three stages of adaptation as currently configured.
  Chain 1:          Reducing each adaptation stage to 15%/75%/10% of
  Chain 1:          the given number of warmup iterations:
  Chain 1:            init_buffer = 3
  Chain 1:            adapt_window = 15
  Chain 1:            term_buffer = 2
  Chain 1: 
  Chain 1: Iteration:  1 / 40 [  2%]  (Warmup)
  Chain 1: Iteration:  4 / 40 [ 10%]  (Warmup)
  Chain 1: Iteration:  8 / 40 [ 20%]  (Warmup)
  Chain 1: Iteration: 12 / 40 [ 30%]  (Warmup)
  Chain 1: Iteration: 16 / 40 [ 40%]  (Warmup)
  Chain 1: Iteration: 20 / 40 [ 50%]  (Warmup)
  Chain 1: Iteration: 21 / 40 [ 52%]  (Sampling)
  Chain 1: Iteration: 24 / 40 [ 60%]  (Sampling)
  Chain 1: Iteration: 28 / 40 [ 70%]  (Sampling)
  Chain 1: Iteration: 32 / 40 [ 80%]  (Sampling)
  Chain 1: Iteration: 36 / 40 [ 90%]  (Sampling)
  Chain 1: Iteration: 40 / 40 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.156 seconds (Warm-up)
  Chain 1:                0.109 seconds (Sampling)
  Chain 1:                0.265 seconds (Total)
  Chain 1: 
  
  SAMPLING FOR MODEL 'gl_null' 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: There aren't enough warmup iterations to fit the
  Chain 1:          three stages of adaptation as currently configured.
  Chain 1:          Reducing each adaptation stage to 15%/75%/10% of
  Chain 1:          the given number of warmup iterations:
  Chain 1:            init_buffer = 3
  Chain 1:            adapt_window = 15
  Chain 1:            term_buffer = 2
  Chain 1: 
  Chain 1: Iteration:  1 / 40 [  2%]  (Warmup)
  Chain 1: Iteration:  4 / 40 [ 10%]  (Warmup)
  Chain 1: Iteration:  8 / 40 [ 20%]  (Warmup)
  Chain 1: Iteration: 12 / 40 [ 30%]  (Warmup)
  Chain 1: Iteration: 16 / 40 [ 40%]  (Warmup)
  Chain 1: Iteration: 20 / 40 [ 50%]  (Warmup)
  Chain 1: Iteration: 21 / 40 [ 52%]  (Sampling)
  Chain 1: Iteration: 24 / 40 [ 60%]  (Sampling)
  Chain 1: Iteration: 28 / 40 [ 70%]  (Sampling)
  Chain 1: Iteration: 32 / 40 [ 80%]  (Sampling)
  Chain 1: Iteration: 36 / 40 [ 90%]  (Sampling)
  Chain 1: Iteration: 40 / 40 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.172 seconds (Warm-up)
  Chain 1:                0.187 seconds (Sampling)
  Chain 1:                0.359 seconds (Total)
  Chain 1: 
  Using 1 worker(s) to run hwefit() on 2 loci...
  Loading required package: foreach
  Loading required package: future
  Loading required package: rngtools
  Done!
  
  [ FAIL 2 | WARN 0 | SKIP 2 | PASS 180 ]
  
  == Skipped tests ===============================================================
  * alt not ready for primetime (1)
  * takes too long (1)
  
  == Failed tests ================================================================
  -- Error ('test-bayes.R:165'): gibbs sampler using genotype log-likelihoods give good estimates --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-hwep::simgl(nvec = nvec, rdepth = 1000, od = 0, seq = 0, bias = 1) at test-bayes.R:165:2
   2. \-base::loadNamespace(x)
   3.   +-base::namespaceImportFrom(...)
   4.   | \-base::asNamespace(ns)
   5.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   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:243'): sample_z() works --------------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-hwep::simgl(nvec = nvec) at test-bayes.R:243:2
   2. \-base::loadNamespace(x)
   3.   +-base::namespaceImportFrom(...)
   4.   | \-base::asNamespace(ns)
   5.   \-base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   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)
  
  [ FAIL 2 | WARN 0 | SKIP 2 | PASS 180 ]
  Error: Test failures
  Execution halted