Running ‘testthat.R’ [529s/523s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # Part of the rstanarm package for estimating model parameters
  > # Copyright (C) 2015 Trustees of Columbia University
  > # 
  > # This program is free software; you can redistribute it and/or
  > # modify it under the terms of the GNU General Public License
  > # as published by the Free Software Foundation; either version 3
  > # of the License, or (at your option) any later version.
  > # 
  > # This program is distributed in the hope that it will be useful,
  > # but WITHOUT ANY WARRANTY; without even the implied warranty of
  > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  > # GNU General Public License for more details.
  > # 
  > # You should have received a copy of the GNU General Public License
  > # along with this program; if not, write to the Free Software
  > # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  > 
  > library(testthat)
  > library(rstanarm)
  Loading required package: Rcpp
  rstanarm (Version 2.15.3, packaged: 2017-04-29 06:18:44 UTC)
  - Do not expect the default priors to remain the same in future rstanarm versions.
  Thus, R scripts should specify priors explicitly, even if they are just the defaults.
  - For execution on a local, multicore CPU with excess RAM we recommend calling
  options(mc.cores = parallel::detectCores())
  > Sys.unsetenv("R_TESTS")
  > example(example_model)
  
  exmpl_> example_model <- 
  exmpl_+   stan_glmer(cbind(incidence, size - incidence) ~ size + period + (1|herd),
  exmpl_+              data = lme4::cbpp, family = binomial,
  exmpl_+              # this next line is only to keep the example small in size!
  exmpl_+              chains = 2, cores = 1, seed = 12345, iter = 500)
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  
  SAMPLING FOR MODEL 'binomial' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 500 [  0%]  (Warmup)
  Iteration:  50 / 500 [ 10%]  (Warmup)
  Iteration: 100 / 500 [ 20%]  (Warmup)
  Iteration: 150 / 500 [ 30%]  (Warmup)
  Iteration: 200 / 500 [ 40%]  (Warmup)
  Iteration: 250 / 500 [ 50%]  (Warmup)
  Iteration: 251 / 500 [ 50%]  (Sampling)
  Iteration: 300 / 500 [ 60%]  (Sampling)
  Iteration: 350 / 500 [ 70%]  (Sampling)
  Iteration: 400 / 500 [ 80%]  (Sampling)
  Iteration: 450 / 500 [ 90%]  (Sampling)
  Iteration: 500 / 500 [100%]  (Sampling)
  
   Elapsed Time: 1.51 seconds (Warm-up)
                 0.48 seconds (Sampling)
                 1.99 seconds (Total)
  
  
  SAMPLING FOR MODEL 'binomial' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 500 [  0%]  (Warmup)
  Iteration:  50 / 500 [ 10%]  (Warmup)
  Iteration: 100 / 500 [ 20%]  (Warmup)
  Iteration: 150 / 500 [ 30%]  (Warmup)
  Iteration: 200 / 500 [ 40%]  (Warmup)
  Iteration: 250 / 500 [ 50%]  (Warmup)
  Iteration: 251 / 500 [ 50%]  (Sampling)
  Iteration: 300 / 500 [ 60%]  (Sampling)
  Iteration: 350 / 500 [ 70%]  (Sampling)
  Iteration: 400 / 500 [ 80%]  (Sampling)
  Iteration: 450 / 500 [ 90%]  (Sampling)
  Iteration: 500 / 500 [100%]  (Sampling)
  
   Elapsed Time: 1.49 seconds (Warm-up)
                 0.65 seconds (Sampling)
                 2.14 seconds (Total)
  
  
  exmpl_> example_model
  stan_glmer
   family:  binomial [logit]
   formula: cbind(incidence, size - incidence) ~ size + period + (1 | herd)
  ------
  
  Estimates:
              Median MAD_SD
  (Intercept) -1.6    0.6  
  size         0.0    0.0  
  period2     -0.9    0.3  
  period3     -1.1    0.4  
  period4     -1.5    0.4  
  
  Error terms:
   Groups Name        Std.Dev.
   herd   (Intercept) 0.81    
  Num. levels: herd 15 
  
  Sample avg. posterior predictive 
  distribution of y (X = xbar):
           Median MAD_SD
  mean_PPD 1.8    0.2   
  
  ------
  For info on the priors used see help('prior_summary.stanreg').> if (!grepl("^sparc",  R.version$platform)) test_check("rstanarm")
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
   4-fold cross-validation
  
             Estimate  SE
  elpd_kfold    -78.2 3.0
  
   2-fold cross-validation
  
             Estimate  SE
  elpd_kfold   -102.9 8.9
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Loading required package: Matrix
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    object 'SEED' not found
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Setting 'QR' to TRUE can often be helpful when using one of the variational inference algorithms. See the documentation for the 'QR' argument.
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Setting 'QR' to TRUE can often be helpful when using one of the variational inference algorithms. See the documentation for the 'QR' argument.
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Setting 'QR' to TRUE can often be helpful when using one of the variational inference algorithms. See the documentation for the 'QR' argument.
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Initial log joint probability = -156.704
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  ------------------------------------------------------------
  EXPERIMENTAL ALGORITHM:
    This procedure has not been thoroughly tested and may be unstable
    or buggy. The interface is subject to change.
  ------------------------------------------------------------
  
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Begin eta adaptation.
  Iteration:   1 / 250 [  0%]  (Adaptation)
  Iteration:  50 / 250 [ 20%]  (Adaptation)
  Iteration: 100 / 250 [ 40%]  (Adaptation)
  Iteration: 150 / 250 [ 60%]  (Adaptation)
  Iteration: 200 / 250 [ 80%]  (Adaptation)
  Success! Found best value [eta = 1] earlier than expected.
  
  Begin stochastic gradient ascent.
    iter       ELBO   delta_ELBO_mean   delta_ELBO_med   notes 
     100     -1e+02             1.000            1.000
     200     -1e+02             0.581            1.000
     300     -1e+02             0.453            0.198
     400     -9e+01             0.342            0.198
     500     -1e+02             0.283            0.162
     600     -1e+02             0.241            0.162
     700     -9e+01             0.208            0.046
     800     -9e+01             0.184            0.046
     900     -9e+01             0.164            0.031
    1000     -9e+01             0.148            0.031
    1100     -9e+01             0.049            0.014
    1200     -9e+01             0.033            0.010
    1300     -9e+01             0.013            0.010   MEDIAN ELBO CONVERGED
  
  Drawing a sample of size 1000 from the approximate posterior... 
  COMPLETED.
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  ------------------------------------------------------------
  EXPERIMENTAL ALGORITHM:
    This procedure has not been thoroughly tested and may be unstable
    or buggy. The interface is subject to change.
  ------------------------------------------------------------
  
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Begin eta adaptation.
  Iteration:   1 / 250 [  0%]  (Adaptation)
  Iteration:  50 / 250 [ 20%]  (Adaptation)
  Iteration: 100 / 250 [ 40%]  (Adaptation)
  Iteration: 150 / 250 [ 60%]  (Adaptation)
  Iteration: 200 / 250 [ 80%]  (Adaptation)
  Iteration: 250 / 250 [100%]  (Adaptation)
  Success! Found best value [eta = 0.1].
  
  Begin stochastic gradient ascent.
    iter       ELBO   delta_ELBO_mean   delta_ELBO_med   notes 
     100     -2e+02             1.000            1.000
     200     -2e+02             0.523            1.000
     300     -1e+02             0.353            0.047
     400     -1e+02             0.266            0.047
     500     -1e+02             0.213            0.011
     600     -1e+02             0.179            0.011
     700     -1e+02             0.154            0.006   MEDIAN ELBO CONVERGED
  
  Drawing a sample of size 1000 from the approximate posterior... 
  COMPLETED.
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 2.01 seconds (Warm-up)
                 0.97 seconds (Sampling)
                 2.98 seconds (Total)
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 2.06 seconds (Warm-up)
                 1.53 seconds (Sampling)
                 3.59 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 0.01 seconds
  1000 transitions using 10 leapfrog steps per transition would take 100 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.02 seconds (Warm-up)
                 0.03 seconds (Sampling)
                 0.05 seconds (Total)
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.03 seconds (Warm-up)
                 0.02 seconds (Sampling)
                 0.05 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  1. Error: pp_check.stanreg creates ggplot object (@test_pp_check.R#48) ---------
  Plotting function not supported. (If the plotting function is included in the output from bayesplot::available_ppc() then it should be available via pp_check and this error is probably a bug.)
  1: expect_gg(suppressWarnings(pp_check(fit, plotfun = f, nreps = j)), info = f) at testthat/test_pp_check.R:48
  2: testthat::expect_is(x, "ggplot", info = info, label = label)
  3: klass(object)
  4: paste(class(x), collapse = "/")
  5: suppressWarnings(pp_check(fit, plotfun = f, nreps = j))
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: pp_check(fit, plotfun = f, nreps = j)
  8: pp_check.stanreg(fit, plotfun = f, nreps = j)
  9: .ppc_y_and_yrep(object, seed = seed, nreps = .set_nreps(nreps, fun = plotfun_name), 
         binned_resid_plot = isTRUE(plotfun_name == "ppc_error_binned"))
  10: posterior_predict(object, draws = nreps, seed = seed)
  11: posterior_predict.stanreg(object, draws = nreps, seed = seed)
  12: pp_args(object, data = pp_eta(object, dat, draws))
  13: pp_eta(object, dat, draws)
  14: .set_nreps(nreps, fun = plotfun_name)
  15: stop("Plotting function not supported. ", "(If the plotting function is included in the output from ", 
         "bayesplot::available_ppc() then it should be available via pp_check ", "and this error is probably a bug.)")
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.17 seconds (Warm-up)
                 0.22 seconds (Sampling)
                 0.39 seconds (Total)
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.17 seconds (Warm-up)
                 0.15 seconds (Sampling)
                 0.32 seconds (Total)
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.16 seconds (Warm-up)
                 0.25 seconds (Sampling)
                 0.41 seconds (Total)
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.12 seconds (Warm-up)
                 0.35 seconds (Sampling)
                 0.47 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0 seconds (Warm-up)
                 0.01 seconds (Sampling)
                 0.01 seconds (Total)
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0 seconds (Warm-up)
                 0.01 seconds (Sampling)
                 0.01 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.04 seconds (Warm-up)
                 0.05 seconds (Sampling)
                 0.09 seconds (Total)
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.03 seconds (Warm-up)
                 0.05 seconds (Sampling)
                 0.08 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.04 seconds (Warm-up)
                 0.05 seconds (Sampling)
                 0.09 seconds (Total)
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.04 seconds (Warm-up)
                 0.03 seconds (Sampling)
                 0.07 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  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())
  DIAGNOSTIC(S) FROM PARSER:
  Warning (non-fatal): Comments beginning with # are deprecated.  Please use // in place of # for line comments.
  Warning (non-fatal): Comments beginning with # are deprecated.  Please use // in place of # for line comments.
  Warning (non-fatal): Comments beginning with # are deprecated.  Please use // in place of # for line comments.
  Warning (non-fatal): Comments beginning with # are deprecated.  Please use // in place of # for line comments.
  Warning (non-fatal): Comments beginning with # are deprecated.  Please use // in place of # for line comments.
  Warning (non-fatal): Comments beginning with # are deprecated.  Please use // in place of # for line comments.
  Warning (non-fatal): Comments beginning with # are deprecated.  Please use // in place of # for line comments.
  Warning (non-fatal): Comments beginning with # are deprecated.  Please use // in place of # for line comments.
  
  In file included from /tmp/RtmpEtaWho/RLIBS_1c3e5868421e/BH/include/boost/config.hpp:39:0,
                   from /tmp/RtmpEtaWho/RLIBS_1c3e5868421e/BH/include/boost/fusion/support/config.hpp:11,
                   from /home/ripley/R/Lib32/rstan/include/boost_not_in_BH/boost/fusion/support/unused.hpp:10,
                   from filebda291a515e.cpp:5:
  /tmp/RtmpEtaWho/RLIBS_1c3e5868421e/BH/include/boost/config/compiler/gcc.hpp:186:0: warning: "BOOST_NO_CXX11_RVALUE_REFERENCES" redefined
   #  define BOOST_NO_CXX11_RVALUE_REFERENCES
   ^
  <command-line>:0:0: note: this is the location of the previous definition
  Loading required package: HSAUR3
  Loading required package: tools
  2. Error: the Stan equivalent of lme4's Z %*% b works (@test_stan_functions.R#408) 
  incorrect number of dimensions
  1: test_lme4(glFormula(Reaction ~ Days + (Days | Subject), data = sleepstudy)$reTrms) at testthat/test_stan_functions.R:408
  2: sapply(attr(group$flist, "assign"), function(i) nlevels(group$flist[, i])) at testthat/test_stan_functions.R:374
  3: lapply(X = X, FUN = FUN, ...)
  4: FUN(X[[i]], ...)
  5: nlevels(group$flist[, i]) at testthat/test_stan_functions.R:374
  6: levels(x)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Initial log joint probability = -240.378
  Optimization terminated with error: 
    Line search failed to achieve a sufficient decrease, no more progress can be made
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Initial log joint probability = -224.446
  Optimization terminated normally: 
    Convergence detected: absolute change in objective function was below tolerance
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Initial log joint probability = -604.053
  Optimization terminated normally: 
    Convergence detected: relative change in objective function was below tolerance
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Initial log joint probability = -156.802
  Optimization terminated normally: 
    Convergence detected: relative change in objective function was below tolerance
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Initial log joint probability = -284.258
  Optimization terminated normally: 
    Convergence detected: absolute change in objective function was below tolerance
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.05 seconds (Warm-up)
                 0.04 seconds (Sampling)
                 0.09 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.05 seconds (Warm-up)
                 0.04 seconds (Sampling)
                 0.09 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.04 seconds (Warm-up)
                 0.05 seconds (Sampling)
                 0.09 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.04 seconds (Warm-up)
                 0.05 seconds (Sampling)
                 0.09 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.04 seconds (Warm-up)
                 0.05 seconds (Sampling)
                 0.09 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.05 seconds (Warm-up)
                 0.05 seconds (Sampling)
                 0.1 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Initial log joint probability = -530.314
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Initial log joint probability = -7059.2
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0 seconds (Warm-up)
                 0 seconds (Sampling)
                 0 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0 seconds (Warm-up)
                 0 seconds (Sampling)
                 0 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.01 seconds (Warm-up)
                 0.01 seconds (Sampling)
                 0.02 seconds (Total)
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.01 seconds (Warm-up)
                 0.05 seconds (Sampling)
                 0.06 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 2
             adapt_window = 16
             term_buffer = 2
  
  
   Elapsed Time: 0.01 seconds (Warm-up)
                 0 seconds (Sampling)
                 0.01 seconds (Total)
  
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 2
             adapt_window = 16
             term_buffer = 2
  
  
   Elapsed Time: 0.01 seconds (Warm-up)
                 0.01 seconds (Sampling)
                 0.02 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 7.42 seconds (Warm-up)
                 2.01 seconds (Sampling)
                 9.43 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 9.98 seconds (Warm-up)
                 2.02 seconds (Sampling)
                 12 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.83 seconds (Warm-up)
                 0.33 seconds (Sampling)
                 1.16 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.84 seconds (Warm-up)
                 0.25 seconds (Sampling)
                 1.09 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.83 seconds (Warm-up)
                 0.33 seconds (Sampling)
                 1.16 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.83 seconds (Warm-up)
                 0.26 seconds (Sampling)
                 1.09 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 1.88 seconds (Warm-up)
                 1.61 seconds (Sampling)
                 3.49 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 2.31 seconds (Warm-up)
                 1.39 seconds (Sampling)
                 3.7 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.89 seconds (Warm-up)
                 0.32 seconds (Sampling)
                 1.21 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.89 seconds (Warm-up)
                 0.28 seconds (Sampling)
                 1.17 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.72 seconds (Warm-up)
                 0.2 seconds (Sampling)
                 0.92 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.62 seconds (Warm-up)
                 0.34 seconds (Sampling)
                 0.96 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 4.46 seconds (Warm-up)
                 5.11 seconds (Sampling)
                 9.57 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 3.04 seconds (Warm-up)
                 1.36 seconds (Sampling)
                 4.4 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 6.03 seconds (Warm-up)
                 3.79 seconds (Sampling)
                 9.82 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 7.12 seconds (Warm-up)
                 6.47 seconds (Sampling)
                 13.59 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    no valid constructor available for the argument list
  trying deprecated constructor; please alert package maintainer
  testthat results ================================================================
  OK: 1738 SKIPPED: 0 FAILED: 2
  1. Error: pp_check.stanreg creates ggplot object (@test_pp_check.R#48) 
  2. Error: the Stan equivalent of lme4's Z %*% b works (@test_stan_functions.R#408) 
  
  Error: testthat unit tests failed
  Execution halted