Running ‘testthat.R’ [534s/528s]
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.48 seconds (Warm-up)
                 0.65 seconds (Sampling)
                 2.13 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: 1.98 seconds (Warm-up)
                 0.95 seconds (Sampling)
                 2.93 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.02 seconds (Warm-up)
                 1.52 seconds (Sampling)
                 3.54 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 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)
  
  
  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.23 seconds (Sampling)
                 0.4 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.18 seconds (Warm-up)
                 0.15 seconds (Sampling)
                 0.33 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.24 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.11 seconds (Warm-up)
                 0.35 seconds (Sampling)
                 0.46 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.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: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.01 seconds (Warm-up)
                 0 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.03 seconds (Warm-up)
                 0.05 seconds (Sampling)
                 0.08 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.03 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 = 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.04 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/RtmpOHay0C/RLIBS_39a3483e730c/BH/include/boost/config.hpp:39:0,
                   from /tmp/RtmpOHay0C/RLIBS_39a3483e730c/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 file293f5ddc2969.cpp:5:
  /tmp/RtmpOHay0C/RLIBS_39a3483e730c/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
  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.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
  
  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.04 seconds (Sampling)
                 0.09 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.02 seconds (Sampling)
                 0.03 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.01 seconds
  1000 transitions using 10 leapfrog steps per transition would take 100 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 7.33 seconds (Warm-up)
                 1.99 seconds (Sampling)
                 9.32 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.82 seconds (Warm-up)
                 1.99 seconds (Sampling)
                 11.81 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.25 seconds (Sampling)
                 1.08 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.32 seconds (Sampling)
                 1.15 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.25 seconds (Sampling)
                 1.08 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.89 seconds (Warm-up)
                 1.6 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.29 seconds (Warm-up)
                 1.38 seconds (Sampling)
                 3.67 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.88 seconds (Warm-up)
                 0.31 seconds (Sampling)
                 1.19 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.88 seconds (Warm-up)
                 0.27 seconds (Sampling)
                 1.15 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.71 seconds (Warm-up)
                 0.2 seconds (Sampling)
                 0.91 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.61 seconds (Warm-up)
                 0.33 seconds (Sampling)
                 0.94 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.41 seconds (Warm-up)
                 5.05 seconds (Sampling)
                 9.46 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.02 seconds (Warm-up)
                 1.35 seconds (Sampling)
                 4.37 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.76 seconds (Sampling)
                 9.79 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.1 seconds (Warm-up)
                 6.41 seconds (Sampling)
                 13.51 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: 1784 SKIPPED: 0 FAILED: 1
  1. Error: pp_check.stanreg creates ggplot object (@test_pp_check.R#48) 
  
  Error: testthat unit tests failed
  Execution halted