Running ‘test_all.R’
Running the tests in ‘tests/test_all.R’ failed.
Complete output:
  > library("testthat")
  > test_check("walker")
  Loading required package: walker
  Loading required package: rstan
  Loading required package: ggplot2
  Loading required package: StanHeaders
  rstan (Version 2.16.2, packaged: 2017-07-03 09:24:58 UTC, GitRev: 2e1f913d3ca3)
  For execution on a local, multicore CPU with excess RAM we recommend calling
  rstan_options(auto_write = TRUE)
  options(mc.cores = parallel::detectCores())
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 6.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.61 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.001568 seconds (Warm-up)
                 0.001839 seconds (Sampling)
                 0.003407 seconds (Total)
  
  1. Failure: stan side works (@tests.R#19) --------------------------------------
  structure(...) not equivalent to extract(fit, pars = "sigma_y")$sigma_y.
  5/5 mismatches (average diff: 1.18)
  [1] 0.576 - 1.229 == -0.653
  [2] 0.609 - 0.152 ==  0.457
  [3] 0.601 - 0.073 ==  0.528
  [4] 2.474 - 0.155 ==  2.319
  [5] 0.504 - 2.437 == -1.933
  
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 2.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.22 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.000919 seconds (Warm-up)
                 0.000851 seconds (Sampling)
                 0.00177 seconds (Total)
  
  2. Failure: stan side works (@tests.R#25) --------------------------------------
  ... <- NULL showed 2 warnings.
  *  There were 1 chains where the estimated Bayesian Fraction of Missing Information was low. See
  http://mc-stan.org/misc/warnings.html#bfmi-low
  *  Examine the pairs() plot to diagnose sampling problems
  
  
  
  3. Failure: stan side works (@tests.R#27) --------------------------------------
  structure(...) not equivalent to extract(fit, pars = "sigma_y")$sigma_y.
  5/5 mismatches (average diff: 0.293)
  [1] 1.28 - 1.23 ==  0.0406
  [2] 1.28 - 1.72 == -0.4480
  [3] 1.28 - 0.84 ==  0.4353
  [4] 1.07 - 1.55 == -0.4820
  [5] 1.25 - 1.31 == -0.0580
  
  
  testthat results ================================================================
  OK: 7 SKIPPED: 0 FAILED: 3
  1. Failure: stan side works (@tests.R#19) 
  2. Failure: stan side works (@tests.R#25) 
  3. Failure: stan side works (@tests.R#27) 
  
  Error: testthat unit tests failed
  Execution halted