Running ‘testthat.R’ [339s/380s]
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.17.4, packaged: 2018-04-13 01:51:52 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())
  - Plotting theme set to bayesplot::theme_default().
  > Sys.unsetenv("R_TESTS")
  > # options(error = function() traceback(2))
  > example(example_model)
  
  exmpl_> example_model <- 
  exmpl_+   stan_glmer(cbind(incidence, size - incidence) ~ size + period + (1|herd),
  exmpl_+              data = lme4::cbpp, family = binomial, QR = TRUE,
  exmpl_+              # this next line is only to keep the example small in size!
  exmpl_+              chains = 2, cores = 1, seed = 12345, iter = 500)
  
  SAMPLING FOR MODEL 'binomial' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000157 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.57 seconds.
  Chain 1: Iteration:   1 / 500 [  0%]  (Warmup)
  Chain 1: Iteration:  50 / 500 [ 10%]  (Warmup)
  Chain 1: Iteration: 100 / 500 [ 20%]  (Warmup)
  Chain 1: Iteration: 150 / 500 [ 30%]  (Warmup)
  Chain 1: Iteration: 200 / 500 [ 40%]  (Warmup)
  Chain 1: Iteration: 250 / 500 [ 50%]  (Warmup)
  Chain 1: Iteration: 251 / 500 [ 50%]  (Sampling)
  Chain 1: Iteration: 300 / 500 [ 60%]  (Sampling)
  Chain 1: Iteration: 350 / 500 [ 70%]  (Sampling)
  Chain 1: Iteration: 400 / 500 [ 80%]  (Sampling)
  Chain 1: Iteration: 450 / 500 [ 90%]  (Sampling)
  Chain 1: Iteration: 500 / 500 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.76391 seconds (Warm-up)
  Chain 1:                0.225403 seconds (Sampling)
  Chain 1:                0.989313 seconds (Total)
  
  SAMPLING FOR MODEL 'binomial' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 6.1e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.61 seconds.
  Chain 2: Iteration:   1 / 500 [  0%]  (Warmup)
  Chain 2: Iteration:  50 / 500 [ 10%]  (Warmup)
  Chain 2: Iteration: 100 / 500 [ 20%]  (Warmup)
  Chain 2: Iteration: 150 / 500 [ 30%]  (Warmup)
  Chain 2: Iteration: 200 / 500 [ 40%]  (Warmup)
  Chain 2: Iteration: 250 / 500 [ 50%]  (Warmup)
  Chain 2: Iteration: 251 / 500 [ 50%]  (Sampling)
  Chain 2: Iteration: 300 / 500 [ 60%]  (Sampling)
  Chain 2: Iteration: 350 / 500 [ 70%]  (Sampling)
  Chain 2: Iteration: 400 / 500 [ 80%]  (Sampling)
  Chain 2: Iteration: 450 / 500 [ 90%]  (Sampling)
  Chain 2: Iteration: 500 / 500 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 0.939217 seconds (Warm-up)
  Chain 2:                0.249267 seconds (Sampling)
  Chain 2:                1.18848 seconds (Total)
  
  exmpl_> example_model
  stan_glmer
   family:       binomial [logit]
   formula:      cbind(incidence, size - incidence) ~ size + period + (1 | herd)
   observations: 56
  ------
              Median MAD_SD
  (Intercept) -1.5    0.6  
  size         0.0    0.0  
  period2     -1.0    0.3  
  period3     -1.1    0.3  
  period4     -1.6    0.4  
  
  Error terms:
   Groups Name        Std.Dev.
   herd   (Intercept) 0.77    
  Num. levels: herd 15 
  
  Sample avg. posterior predictive distribution of y:
           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", invert = TRUE,
  +              filter = if (Sys.getenv("NOT_CRAN") != "true") "jm|mvmer")
  Chain 1: Gradient evaluation took 5.2e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.52 seconds.
  Chain 1: Iteration:   1 / 250 [  0%]  (Adaptation)
  Chain 1: Iteration:  50 / 250 [ 20%]  (Adaptation)
  Chain 1: Iteration: 100 / 250 [ 40%]  (Adaptation)
  Chain 1: Iteration: 150 / 250 [ 60%]  (Adaptation)
  Chain 1: Iteration: 200 / 250 [ 80%]  (Adaptation)
  Chain 1: Success! Found best value [eta = 1] earlier than expected.
  Chain 1: Drawing a sample of size 1000 from the approximate posterior... 
  Chain 1: Gradient evaluation took 4e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.4 seconds.
  Chain 1: Iteration:   1 / 250 [  0%]  (Adaptation)
  Chain 1: Iteration:  50 / 250 [ 20%]  (Adaptation)
  Chain 1: Iteration: 100 / 250 [ 40%]  (Adaptation)
  Chain 1: Iteration: 150 / 250 [ 60%]  (Adaptation)
  Chain 1: Success! Found best value [eta = 10] earlier than expected.
  Chain 1: Drawing a sample of size 1000 from the approximate posterior... 
  
   4-fold cross-validation
  
             Estimate  SE
  elpd_kfold    -82.6 4.6
  
   2-fold cross-validation
  
             Estimate  SE
  elpd_kfold   -100.9 9.4
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    object 'SEED' not found
  ── 1. Error: print and summary methods ok for optimization (@test_methods.R#648)
  Exception: poisson_rng: Rate parameter is 0, but must be > 0!  (in 'model_count' at line 168)
  1: capture.output(fit <- stan_glm.nb(counts ~ outcome + treatment, algorithm = "optimizing", 
         seed = SEED)) at testthat/test_methods.R:648
  2: evalVis(expr)
  3: withVisible(eval(expr, pf))
  4: eval(expr, pf)
  5: eval(expr, pf)
  6: stan_glm.nb(counts ~ outcome + treatment, algorithm = "optimizing", seed = SEED)
  7: eval(mc, parent.frame())
  8: eval(mc, parent.frame())
  9: stan_glm(formula = counts ~ outcome + treatment, seed = SEED, algorithm = "optimizing", 
         family = structure(list(family = "neg_binomial_2", link = "log", linkfun = function (mu) 
         log(mu), linkinv = function (eta) 
         pmax(exp(eta), .Machine$double.eps), variance = function (mu, theta = Inf) 
         mu + mu^2/theta, dev.resids = function (y, mu, wt) 
         {
             stop("'dev.resids' function should not be called")
         }, aic = function (y, n, mu, wt, dev) 
         {
             stop("'aic' function should not have been called")
         }, mu.eta = function (eta) 
         pmax(exp(eta), .Machine$double.eps), initialize = expression({
             if (any(y < 0)) 
                 stop("negative values not allowed for the 'Poisson' family")
             n <- rep.int(1, nobs)
             mustart <- y + 0.1
         }), validmu = function (mu) 
         all(is.finite(mu)) && all(mu > 0), valideta = function (eta) 
         TRUE, simulate = function (object, nsim) 
         stop("'simulate' function should not have been called")), class = "family"))
  10: stan_glm.fit(x = X, y = Y, weights = weights, offset = offset, family = family, prior = prior, 
         prior_intercept = prior_intercept, prior_aux = prior_aux, prior_PD = prior_PD, 
         algorithm = algorithm, adapt_delta = adapt_delta, QR = QR, sparse = sparse, ...)
  11: optimizing(stanfit, data = standata, draws = 1000, constrained = TRUE, ...)
  12: optimizing(stanfit, data = standata, draws = 1000, constrained = TRUE, ...)
  13: .local(object, ...)
  14: sampler$call_sampler(c(args, dotlist))
  
  Chain 1: Gradient evaluation took 4.7e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.47 seconds.
  Chain 1: Iteration:   1 / 250 [  0%]  (Adaptation)
  Chain 1: Iteration:  50 / 250 [ 20%]  (Adaptation)
  Chain 1: Iteration: 100 / 250 [ 40%]  (Adaptation)
  Chain 1: Iteration: 150 / 250 [ 60%]  (Adaptation)
  Chain 1: Iteration: 200 / 250 [ 80%]  (Adaptation)
  Chain 1: Success! Found best value [eta = 1] earlier than expected.
  Chain 1:    100         -315.821             1.000            1.000
  Chain 1:    200         -161.577             0.977            1.000
  Chain 1:    300         -148.682             0.680            0.955
  Chain 1:    400         -144.920             0.517            0.955
  Chain 1:    500         -134.239             0.429            0.087
  Chain 1:    600         -125.319             0.370            0.087
  Chain 1:    700         -118.261             0.325            0.080
  Chain 1:    800         -123.001             0.290            0.080
  Chain 1:    900         -120.168             0.260            0.071
  Chain 1:   1000         -116.061             0.238            0.071
  Chain 1:   1100         -115.933             0.138            0.060
  Chain 1:   1200         -116.075             0.042            0.039
  Chain 1:   1300         -114.335             0.035            0.035
  Chain 1:   1400         -122.168             0.039            0.039
  Chain 1:   1500         -116.574             0.036            0.039
  Chain 1:   1600         -118.286             0.030            0.035
  Chain 1:   1700         -114.750             0.027            0.031
  Chain 1:   1800         -115.917             0.024            0.024
  Chain 1:   1900         -115.784             0.022            0.015
  Chain 1:   2000         -118.402             0.021            0.015
  Chain 1:   2100         -118.077             0.021            0.015
  Chain 1:   2200         -113.117             0.025            0.022
  Chain 1:   2300         -113.369             0.024            0.022
  Chain 1:   2400         -113.345             0.018            0.014
  Chain 1:   2500         -115.384             0.015            0.014
  Chain 1:   2600         -113.704             0.015            0.015
  Chain 1:   2700         -113.951             0.012            0.010
  Chain 1:   2800         -118.944             0.015            0.015
  Chain 1:   2900         -113.840             0.019            0.018
  Chain 1:   3000         -112.662             0.018            0.015
  Chain 1:   3100         -115.124             0.020            0.018
  Chain 1:   3200         -114.282             0.016            0.015
  Chain 1:   3300         -113.311             0.017            0.015
  Chain 1:   3400         -112.431             0.018            0.015
  Chain 1:   3500         -113.099             0.017            0.010
  Chain 1:   3600         -113.455             0.015            0.009   MEDIAN ELBO CONVERGED
  Chain 1: Drawing a sample of size 1000 from the approximate posterior... 
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 4.9e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.49 seconds.
  Chain 1:            init_buffer = 7
  Chain 1:            adapt_window = 38
  Chain 1:            term_buffer = 5
  Chain 1: Iteration:  1 / 100 [  1%]  (Warmup)
  Chain 1: Iteration: 10 / 100 [ 10%]  (Warmup)
  Chain 1: Iteration: 20 / 100 [ 20%]  (Warmup)
  Chain 1: Iteration: 30 / 100 [ 30%]  (Warmup)
  Chain 1: Iteration: 40 / 100 [ 40%]  (Warmup)
  Chain 1: Iteration: 50 / 100 [ 50%]  (Warmup)
  Chain 1: Iteration: 51 / 100 [ 51%]  (Sampling)
  Chain 1: Iteration: 60 / 100 [ 60%]  (Sampling)
  Chain 1: Iteration: 70 / 100 [ 70%]  (Sampling)
  Chain 1: Iteration: 80 / 100 [ 80%]  (Sampling)
  Chain 1: Iteration: 90 / 100 [ 90%]  (Sampling)
  Chain 1: Iteration: 100 / 100 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.010673 seconds (Warm-up)
  Chain 1:                0.010205 seconds (Sampling)
  Chain 1:                0.020878 seconds (Total)
  Chain 1: Gradient evaluation took 4.7e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.47 seconds.
  Chain 1: Iteration:   1 / 250 [  0%]  (Adaptation)
  Chain 1: Iteration:  50 / 250 [ 20%]  (Adaptation)
  Chain 1: Iteration: 100 / 250 [ 40%]  (Adaptation)
  Chain 1: Iteration: 150 / 250 [ 60%]  (Adaptation)
  Chain 1: Iteration: 200 / 250 [ 80%]  (Adaptation)
  Chain 1: Success! Found best value [eta = 1] earlier than expected.
  Chain 1:    100         -145.954             1.000            1.000
  Chain 1:    200         -132.991             0.549            1.000
  Chain 1:    300         -114.222             0.421            0.164
  Chain 1:    400          -95.429             0.365            0.197
  Chain 1:    500          -91.911             0.299            0.164
  Chain 1:    600          -91.832             0.250            0.164
  Chain 1:    700          -92.239             0.215            0.097
  Chain 1:    800          -92.882             0.189            0.097
  Chain 1:    900          -92.856             0.168            0.038
  Chain 1:   1000          -98.595             0.157            0.058
  Chain 1:   1100          -93.141             0.063            0.058
  Chain 1:   1200          -92.020             0.054            0.038
  Chain 1:   1300          -91.463             0.038            0.012
  Chain 1:   1400          -92.597             0.020            0.012
  Chain 1:   1500          -94.062             0.018            0.012
  Chain 1:   1600          -93.247             0.018            0.012
  Chain 1:   1700          -91.538             0.020            0.012
  Chain 1:   1800          -91.186             0.019            0.012
  Chain 1:   1900          -91.569             0.020            0.012
  Chain 1:   2000          -91.299             0.014            0.012
  Chain 1:   2100          -91.280             0.008            0.009   MEAN ELBO CONVERGED   MEDIAN ELBO CONVERGED
  Chain 1: Drawing a sample of size 1000 from the approximate posterior... 
  Chain 1: Gradient evaluation took 5.2e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.52 seconds.
  Chain 1: Iteration:   1 / 250 [  0%]  (Adaptation)
  Chain 1: Iteration:  50 / 250 [ 20%]  (Adaptation)
  Chain 1: Iteration: 100 / 250 [ 40%]  (Adaptation)
  Chain 1: Iteration: 150 / 250 [ 60%]  (Adaptation)
  Chain 1: Iteration: 200 / 250 [ 80%]  (Adaptation)
  Chain 1: Success! Found best value [eta = 1] earlier than expected.
  Chain 1:    100         -430.217             1.000            1.000
  Chain 1:    200         -167.237             1.286            1.573
  Chain 1:    300         -135.181             0.937            1.000
  Chain 1:    400         -125.938             0.721            1.000
  Chain 1:    500         -126.426             0.577            0.237
  Chain 1:    600         -115.669             0.497            0.237
  Chain 1:    700         -100.203             0.448            0.154
  Chain 1:    800          -98.546             0.394            0.154
  Chain 1:    900         -103.399             0.355            0.093
  Chain 1:   1000          -95.673             0.328            0.093
  Chain 1:   1100          -96.011             0.228            0.081
  Chain 1:   1200          -96.648             0.072            0.073
  Chain 1:   1300          -93.732             0.051            0.047
  Chain 1:   1400          -94.582             0.045            0.031
  Chain 1:   1500         -101.002             0.051            0.047
  Chain 1:   1600          -93.650             0.049            0.047
  Chain 1:   1700          -93.611             0.034            0.031
  Chain 1:   1800          -95.768             0.034            0.031
  Chain 1:   1900          -91.905             0.034            0.031
  Chain 1:   2000          -95.274             0.029            0.031
  Chain 1:   2100          -94.493             0.030            0.031
  Chain 1:   2200          -97.764             0.032            0.033
  Chain 1:   2300         -101.370             0.033            0.035
  Chain 1:   2400          -92.819             0.041            0.036
  Chain 1:   2500          -99.061             0.041            0.036
  Chain 1:   2600          -91.689             0.041            0.036
  Chain 1:   2700          -91.545             0.041            0.036
  Chain 1:   2800          -91.153             0.040            0.036
  Chain 1:   2900          -92.620             0.037            0.035
  Chain 1:   3000          -99.165             0.040            0.036
  Chain 1:   3100          -92.286             0.047            0.063
  Chain 1:   3200          -92.048             0.044            0.063
  Chain 1:   3300          -94.187             0.042            0.063
  Chain 1:   3400          -92.850             0.035            0.023
  Chain 1:   3500          -93.454             0.029            0.016
  Chain 1:   3600          -96.340             0.024            0.016
  Chain 1:   3700          -93.506             0.027            0.023
  Chain 1:   3800          -95.237             0.028            0.023
  Chain 1:   3900          -91.093             0.031            0.030
  Chain 1:   4000          -93.131             0.027            0.023
  Chain 1:   4100          -95.312             0.021            0.023
  Chain 1:   4200          -93.196             0.023            0.023
  Chain 1:   4300          -95.324             0.023            0.023
  Chain 1:   4400          -94.142             0.023            0.023
  Chain 1:   4500          -91.072             0.026            0.023
  Chain 1:   4600          -94.138             0.026            0.023
  Chain 1:   4700          -92.411             0.025            0.023
  Chain 1:   4800          -92.032             0.024            0.023
  Chain 1:   4900          -93.173             0.020            0.022
  Chain 1:   5000          -94.890             0.020            0.022
  Chain 1:   5100          -92.819             0.020            0.022
  Chain 1:   5200          -91.472             0.019            0.019
  Chain 1:   5300          -91.612             0.017            0.018
  Chain 1:   5400          -93.607             0.018            0.019
  Chain 1:   5500          -91.916             0.016            0.018
  Chain 1:   5600          -93.118             0.014            0.018
  Chain 1:   5700          -93.682             0.013            0.015
  Chain 1:   5800          -96.688             0.016            0.018
  Chain 1:   5900          -91.116             0.021            0.018
  Chain 1:   6000          -93.746             0.022            0.021
  Chain 1:   6100          -92.590             0.021            0.018
  Chain 1:   6200          -91.511             0.020            0.018
  Chain 1:   6300          -91.170             0.021            0.018
  Chain 1:   6400          -92.732             0.020            0.017
  Chain 1:   6500          -91.396             0.020            0.015
  Chain 1:   6600          -93.474             0.021            0.017
  Chain 1:   6700          -92.197             0.022            0.017
  Chain 1:   6800          -90.948             0.020            0.015
  Chain 1:   6900          -95.977             0.019            0.015
  Chain 1:   7000          -91.478             0.021            0.015
  Chain 1:   7100          -92.406             0.021            0.015
  Chain 1:   7200          -91.225             0.021            0.015
  Chain 1:   7300          -91.872             0.021            0.015
  Chain 1:   7400          -92.486             0.020            0.014
  Chain 1:   7500          -92.755             0.019            0.014
  Chain 1:   7600          -92.094             0.018            0.013
  Chain 1:   7700          -90.920             0.017            0.013
  Chain 1:   7800          -93.067             0.018            0.013
  Chain 1:   7900          -93.529             0.014            0.010
  Chain 1:   8000          -92.656             0.010            0.009   MEAN ELBO CONVERGED   MEDIAN ELBO CONVERGED
  Chain 1: Drawing a sample of size 1000 from the approximate posterior... 
  Chain 1: Gradient evaluation took 4.9e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.49 seconds.
  Chain 1: Iteration:   1 / 250 [  0%]  (Adaptation)
  Chain 1: Iteration:  50 / 250 [ 20%]  (Adaptation)
  Chain 1: Iteration: 100 / 250 [ 40%]  (Adaptation)
  Chain 1: Iteration: 150 / 250 [ 60%]  (Adaptation)
  Chain 1: Iteration: 200 / 250 [ 80%]  (Adaptation)
  Chain 1: Success! Found best value [eta = 1] earlier than expected.
  Chain 1:    100         -133.538             1.000            1.000
  Chain 1:    200         -113.327             0.589            1.000
  Chain 1:    300          -92.778             0.467            0.221
  Chain 1:    400          -91.923             0.352            0.221
  Chain 1:    500          -91.622             0.282            0.178
  Chain 1:    600          -90.498             0.237            0.178
  Chain 1:    700          -90.696             0.204            0.012
  Chain 1:    800          -90.789             0.179            0.012
  Chain 1:    900          -90.784             0.159            0.009   MEDIAN ELBO CONVERGED
  Chain 1: Drawing a sample of size 1000 from the approximate posterior... 
  ── 2. Failure: pp_validate runs for very quick example (@test_pp_validate.R#36) 
  `gg <- pp_validate(fit, nreps = 2, seed = SEED)` produced no output
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000173 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.73 seconds.
  Chain 1:            init_buffer = 7
  Chain 1:            adapt_window = 38
  Chain 1:            term_buffer = 5
  Chain 1: Iteration:  1 / 100 [  1%]  (Warmup)
  Chain 1: Iteration: 10 / 100 [ 10%]  (Warmup)
  Chain 1: Iteration: 20 / 100 [ 20%]  (Warmup)
  Chain 1: Iteration: 30 / 100 [ 30%]  (Warmup)
  Chain 1: Iteration: 40 / 100 [ 40%]  (Warmup)
  Chain 1: Iteration: 50 / 100 [ 50%]  (Warmup)
  Chain 1: Iteration: 51 / 100 [ 51%]  (Sampling)
  Chain 1: Iteration: 60 / 100 [ 60%]  (Sampling)
  Chain 1: Iteration: 70 / 100 [ 70%]  (Sampling)
  Chain 1: Iteration: 80 / 100 [ 80%]  (Sampling)
  Chain 1: Iteration: 90 / 100 [ 90%]  (Sampling)
  Chain 1: Iteration: 100 / 100 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.124162 seconds (Warm-up)
  Chain 1:                0.1666 seconds (Sampling)
  Chain 1:                0.290762 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 0.000126 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 1.26 seconds.
  Chain 2:            init_buffer = 7
  Chain 2:            adapt_window = 38
  Chain 2:            term_buffer = 5
  Chain 2: Iteration:  1 / 100 [  1%]  (Warmup)
  Chain 2: Iteration: 10 / 100 [ 10%]  (Warmup)
  Chain 2: Iteration: 20 / 100 [ 20%]  (Warmup)
  Chain 2: Iteration: 30 / 100 [ 30%]  (Warmup)
  Chain 2: Iteration: 40 / 100 [ 40%]  (Warmup)
  Chain 2: Iteration: 50 / 100 [ 50%]  (Warmup)
  Chain 2: Iteration: 51 / 100 [ 51%]  (Sampling)
  Chain 2: Iteration: 60 / 100 [ 60%]  (Sampling)
  Chain 2: Iteration: 70 / 100 [ 70%]  (Sampling)
  Chain 2: Iteration: 80 / 100 [ 80%]  (Sampling)
  Chain 2: Iteration: 90 / 100 [ 90%]  (Sampling)
  Chain 2: Iteration: 100 / 100 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 0.218412 seconds (Warm-up)
  Chain 2:                0.194148 seconds (Sampling)
  Chain 2:                0.41256 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.002278 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 22.78 seconds.
  Chain 1: Iteration: 1 / 1 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 2e-06 seconds (Warm-up)
  Chain 1:                0.003337 seconds (Sampling)
  Chain 1:                0.003339 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000858 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 8.58 seconds.
  Chain 1: Iteration: 1 / 1 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 2e-06 seconds (Warm-up)
  Chain 1:                0.00222 seconds (Sampling)
  Chain 1:                0.002222 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.001134 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 11.34 seconds.
  Chain 1: Iteration: 1 / 1 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 2e-06 seconds (Warm-up)
  Chain 1:                0.002074 seconds (Sampling)
  Chain 1:                0.002076 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.001296 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 12.96 seconds.
  Chain 1: Iteration: 1 / 1 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 2e-06 seconds (Warm-up)
  Chain 1:                0.002429 seconds (Sampling)
  Chain 1:                0.002431 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000784 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 7.84 seconds.
  Chain 1: Iteration: 1 / 1 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 1e-06 seconds (Warm-up)
  Chain 1:                0.002083 seconds (Sampling)
  Chain 1:                0.002084 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000882 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 8.82 seconds.
  Chain 1: Iteration: 1 / 1 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 1e-06 seconds (Warm-up)
  Chain 1:                0.00231 seconds (Sampling)
  Chain 1:                0.002311 seconds (Total)
  DIAGNOSTIC(S) FROM PARSER:
  Info: left-hand side variable (name=theta_L_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pi) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=zeta_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=rho_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=z_T_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=rho_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=theta_L_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=b_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=theta_L_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=theta_L_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=theta_L_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=b_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=b_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos_reg) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=nu) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos_rho) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos0) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos1) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=ret) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=ret) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=ret) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=running_sum) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=running_sum) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=running_sum) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=running_sum) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=running_sum) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  
  DIAGNOSTIC(S) FROM PARSER:
  Info: left-hand side variable (name=theta_L_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pi) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=zeta_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=rho_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=z_T_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=rho_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=theta_L_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=b_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=theta_L_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=theta_L_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=theta_L_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=b_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=b_mark) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos_reg) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=nu) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos_rho) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos0) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos1) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=ret) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=ret) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=ret) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=pos) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=running_sum) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=running_sum) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=running_sum) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=running_sum) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  Info: left-hand side variable (name=running_sum) occurs on right-hand side of assignment, causing inefficient deep copy to avoid aliasing.
  
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Dense:1:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Core:531:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Dense:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/LU:47:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Dense:3:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Cholesky:12:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Jacobi:29:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Dense:3:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Cholesky:43:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Dense:4:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/QR:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Householder:27:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Dense:5:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/SVD:48:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Dense:6:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Geometry:58:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Dense:7:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Eigenvalues:58:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Sparse:26:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/SparseCore:66:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Sparse:27:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/OrderingMethods:71:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Sparse:29:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/SparseCholesky:43:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Sparse:32:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/SparseQR:35:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/Sparse:33:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:32:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/CholmodSupport:45:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:35:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:39:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/unsupported/Eigen/Polynomials:135:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:2:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/RcppEigenForward.h:40:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/unsupported/Eigen/SparseExtra:51:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:309:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat/prob/multinomial_rng.hpp:10:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal/prob/binomial_rng.hpp:10:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/random/binomial_distribution.hpp:407:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types]
          struct {
          ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/heterogeneous_system.hpp:34:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/heterogeneous_system.hpp:35:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/dimension.hpp:21:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/heterogeneous_system.hpp:35:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/dimension.hpp:21:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/detail/dimension_list.hpp:131:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/heterogeneous_system.hpp:39:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/detail/linear_algebra.hpp:20:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/heterogeneous_system.hpp:40:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/detail/unscale.hpp:28:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/detail/conversion_impl.hpp:20:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/detail/conversion_impl.hpp:21:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:49:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal.hpp:316:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_2_ccdf_log.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_2_lccdf.hpp:11:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_ccdf_log.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_lccdf.hpp:24:
  In file included from /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/random/negative_binomial_distribution.hpp:21:
  /tmp/RtmpZeWik4/RLIBS_8fc666265be0/BH/include/boost/random/poisson_distribution.hpp:338:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types]
          struct {
          ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:44:
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: unused function 'set_zero_all_adjoints' [-Wunused-function]
  static void set_zero_all_adjoints() {
              ^
  In file included from file5e54779c51da.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:70:
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat/fun/autocorrelation.hpp:18:8: warning: function 'fft_next_good_size' is not needed and will not be emitted [-Wunneeded-internal-declaration]
  size_t fft_next_good_size(size_t N) {
         ^
  file5e54779c51da.cpp:430:30: warning: unused typedef 'fun_return_scalar_t__' [-Wunused-local-typedef]
      typedef local_scalar_t__ fun_return_scalar_t__;
                               ^
  30 warnings generated.
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:531:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/LU:47:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:12:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Jacobi:29:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:43:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:17:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Householder:27:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SVD:48:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:6:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Geometry:58:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:7:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Eigenvalues:58:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:66:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:27:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/OrderingMethods:71:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCholesky:43:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:32:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseQR:35:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:33:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:32:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/CholmodSupport:45:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:35:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:39:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/Polynomials:135:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:40:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:51:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:309:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat/prob/multinomial_rng.hpp:10:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal/prob/binomial_rng.hpp:10:
  /data/gannet/ripley/R/test-clang/BH/include/boost/random/binomial_distribution.hpp:407:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types]
          struct {
          ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:34:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:131:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:39:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/linear_algebra.hpp:20:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:40:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/unscale.hpp:28:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:21:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:44:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:196:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:325:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:49:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal.hpp:316:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_2_ccdf_log.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_2_lccdf.hpp:11:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_ccdf_log.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_lccdf.hpp:24:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/random/negative_binomial_distribution.hpp:21:
  /data/gannet/ripley/R/test-clang/BH/include/boost/random/poisson_distribution.hpp:338:9: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types]
          struct {
          ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:44:
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: unused function 'set_zero_all_adjoints' [-Wunused-function]
  static void set_zero_all_adjoints() {
              ^
  In file included from tests.cpp:6:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:70:
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat/fun/autocorrelation.hpp:18:8: warning: function 'fft_next_good_size' is not needed and will not be emitted [-Wunneeded-internal-declaration]
  size_t fft_next_good_size(size_t N) {
         ^
  In file included from tests.cpp:7:
  In file included from /data/gannet/ripley/R/packages/tests-clang/rstanarm.Rcheck/tests/testthat/include/meta_header.hpp:1:
  /data/gannet/ripley/R/packages/tests-clang/rstanarm.Rcheck/tests/testthat/include/csr_matrix_times_vector2.hpp:15:67: warning: unused typedef 'result_t' [-Wunused-local-typedef]
    typedef typename boost::math::tools::promote_args<T1, T2>::type result_t;
                                                                    ^
  30 warnings generated.
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 8.8e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.88 seconds.
  Chain 1:            init_buffer = 7
  Chain 1:            adapt_window = 38
  Chain 1:            term_buffer = 5
  Chain 1: Iteration:  1 / 100 [  1%]  (Warmup)
  Chain 1: Iteration: 51 / 100 [ 51%]  (Sampling)
  Chain 1: Iteration: 100 / 100 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.069787 seconds (Warm-up)
  Chain 1:                0.140166 seconds (Sampling)
  Chain 1:                0.209953 seconds (Total)
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 8.8e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.88 seconds.
  Chain 1:            init_buffer = 7
  Chain 1:            adapt_window = 38
  Chain 1:            term_buffer = 5
  Chain 1: Iteration:  1 / 100 [  1%]  (Warmup)
  Chain 1: Iteration: 51 / 100 [ 51%]  (Sampling)
  Chain 1: Iteration: 100 / 100 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.069503 seconds (Warm-up)
  Chain 1:                0.139218 seconds (Sampling)
  Chain 1:                0.208721 seconds (Total)
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000102 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.02 seconds.
  Chain 1:            init_buffer = 7
  Chain 1:            adapt_window = 38
  Chain 1:            term_buffer = 5
  Chain 1: Iteration:  1 / 100 [  1%]  (Warmup)
  Chain 1: Iteration: 51 / 100 [ 51%]  (Sampling)
  Chain 1: Iteration: 100 / 100 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.057414 seconds (Warm-up)
  Chain 1:                0.040869 seconds (Sampling)
  Chain 1:                0.098283 seconds (Total)
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 9.6e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.96 seconds.
  Chain 1:            init_buffer = 7
  Chain 1:            adapt_window = 38
  Chain 1:            term_buffer = 5
  Chain 1: Iteration:  1 / 100 [  1%]  (Warmup)
  Chain 1: Iteration: 51 / 100 [ 51%]  (Sampling)
  Chain 1: Iteration: 100 / 100 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.057144 seconds (Warm-up)
  Chain 1:                0.041309 seconds (Sampling)
  Chain 1:                0.098453 seconds (Total)
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000104 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.04 seconds.
  Chain 1:            init_buffer = 7
  Chain 1:            adapt_window = 38
  Chain 1:            term_buffer = 5
  Chain 1: Iteration:  1 / 100 [  1%]  (Warmup)
  Chain 1: Iteration: 51 / 100 [ 51%]  (Sampling)
  Chain 1: Iteration: 100 / 100 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.053872 seconds (Warm-up)
  Chain 1:                0.037268 seconds (Sampling)
  Chain 1:                0.09114 seconds (Total)
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 8.7e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.87 seconds.
  Chain 1:            init_buffer = 7
  Chain 1:            adapt_window = 38
  Chain 1:            term_buffer = 5
  Chain 1: Iteration:  1 / 100 [  1%]  (Warmup)
  Chain 1: Iteration: 51 / 100 [ 51%]  (Sampling)
  Chain 1: Iteration: 100 / 100 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.052277 seconds (Warm-up)
  Chain 1:                0.036794 seconds (Sampling)
  Chain 1:                0.089071 seconds (Total)
  ── 3. Failure: model with hs prior doesn't error (@test_stan_glm.R#325)  ───────
  `\.\.\. <- NULL` does not match "Begin stochastic gradient ascent".
  Actual value: "Chain 1: Gradient evaluation took 0\.000103 seconds\\nChain 1: 1000 transitions using 10 leapfrog steps per transition would take 1\.03 seconds\.\\nChain 1: Iteration:   1 / 250 \[  0%\]  \(Adaptation\)\\nChain 1: Iteration:  50 / 250 \[ 20%\]  \(Adaptation\)\\nChain 1: Iteration: 100 / 250 \[ 40%\]  \(Adaptation\)\\nChain 1: Iteration: 150 / 250 \[ 60%\]  \(Adaptation\)\\nChain 1: Iteration: 200 / 250 \[ 80%\]  \(Adaptation\)\\nChain 1: Success! Found best value \[eta = 1\] earlier than expected\.\\nChain 1:    100         -164\.418             1\.000            1\.000\\nChain 1:    200         -152\.608             0\.539            1\.000\\nChain 1:    300         -145\.320             0\.376            0\.077\\nChain 1:    400         -135\.935             0\.299            0\.077\\nChain 1:    500         -128\.174             0\.251            0\.069\\nChain 1:    600         -123\.263             0\.216            0\.069\\nChain 1:    700         -112\.413             0\.199            0\.069\\nChain 1:    800         -110\.277             0\.177            0\.069\\nChain 1:    900         -109\.618             0\.158            0\.061\\nChain 1:   1000         -110\.184             0\.142            0\.061\\nChain 1:   1100         -108\.672             0\.044            0\.050\\nChain 1:   1200         -109\.868             0\.037            0\.040\\nChain 1:   1300         -108\.945             0\.033            0\.019\\nChain 1:   1400         -110\.632             0\.028            0\.015\\nChain 1:   1500         -109\.747             0\.022            0\.014\\nChain 1:   1600         -108\.769             0\.019            0\.011\\nChain 1:   1700         -112\.132             0\.013            0\.011\\nChain 1:   1800         -111\.656             0\.011            0\.009   MEDIAN ELBO CONVERGED\\nChain 1: Drawing a sample of size 1000 from the approximate posterior\.\.\. "
  
  ── 4. Failure: model with laplace prior doesn't error (@test_stan_glm.R#340)  ──
  `\.\.\. <- NULL` does not match "Begin stochastic gradient ascent".
  Actual value: "Chain 1: Gradient evaluation took 8\.7e-05 seconds\\nChain 1: 1000 transitions using 10 leapfrog steps per transition would take 0\.87 seconds\.\\nChain 1: Iteration:   1 / 250 \[  0%\]  \(Adaptation\)\\nChain 1: Iteration:  50 / 250 \[ 20%\]  \(Adaptation\)\\nChain 1: Iteration: 100 / 250 \[ 40%\]  \(Adaptation\)\\nChain 1: Iteration: 150 / 250 \[ 60%\]  \(Adaptation\)\\nChain 1: Iteration: 200 / 250 \[ 80%\]  \(Adaptation\)\\nChain 1: Success! Found best value \[eta = 1\] earlier than expected\.\\nChain 1:    100        -2096\.596             1\.000            1\.000\\nChain 1:    200         -193\.138             5\.428            9\.855\\nChain 1:    300         -156\.609             3\.696            1\.000\\nChain 1:    400         -151\.232             2\.781            1\.000\\nChain 1:    500         -144\.545             2\.234            0\.233\\nChain 1:    600         -145\.825             1\.863            0\.233\\nChain 1:    700         -137\.419             1\.606            0\.061\\nChain 1:    800         -128\.885             1\.413            0\.066\\nChain 1:    900         -127\.461             1\.258            0\.061\\nChain 1:   1000         -127\.492             1\.132            0\.061\\nChain 1:   1100         -128\.216             1\.032            0\.046   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   1200         -123\.287             0\.051            0\.040\\nChain 1:   1300         -126\.123             0\.030            0\.036\\nChain 1:   1400         -124\.215             0\.028            0\.022\\nChain 1:   1500         -123\.867             0\.023            0\.015\\nChain 1:   1600         -122\.394             0\.024            0\.015\\nChain 1:   1700         -123\.751             0\.019            0\.012\\nChain 1:   1800         -128\.846             0\.016            0\.012\\nChain 1:   1900         -123\.369             0\.019            0\.015\\nChain 1:   2000         -123\.151             0\.019            0\.015\\nChain 1:   2100         -123\.415             0\.019            0\.015\\nChain 1:   2200         -120\.779             0\.017            0\.015\\nChain 1:   2300         -125\.460             0\.019            0\.015\\nChain 1:   2400         -128\.421             0\.020            0\.022\\nChain 1:   2500         -123\.230             0\.024            0\.023\\nChain 1:   2600         -124\.729             0\.024            0\.023\\nChain 1:   2700         -121\.699             0\.025            0\.025\\nChain 1:   2800         -120\.487             0\.022            0\.023\\nChain 1:   2900         -121\.155             0\.018            0\.022\\nChain 1:   3000         -120\.759             0\.018            0\.022\\nChain 1:   3100         -118\.156             0\.020            0\.022\\nChain 1:   3200         -123\.762             0\.023            0\.023\\nChain 1:   3300         -123\.445             0\.019            0\.022\\nChain 1:   3400         -121\.991             0\.018            0\.012\\nChain 1:   3500         -121\.931             0\.014            0\.012\\nChain 1:   3600         -130\.671             0\.019            0\.012\\nChain 1:   3700         -122\.085             0\.024            0\.012\\nChain 1:   3800         -120\.777             0\.024            0\.012\\nChain 1:   3900         -120\.802             0\.023            0\.012\\nChain 1:   4000         -119\.639             0\.024            0\.012\\nChain 1:   4100         -120\.931             0\.023            0\.011\\nChain 1:   4200         -126\.813             0\.023            0\.011\\nChain 1:   4300         -120\.628             0\.028            0\.012\\nChain 1:   4400         -119\.105             0\.028            0\.013\\nChain 1:   4500         -119\.757             0\.028            0\.013\\nChain 1:   4600         -123\.691             0\.025            0\.013\\nChain 1:   4700         -122\.705             0\.019            0\.011\\nChain 1:   4800         -121\.790             0\.018            0\.011\\nChain 1:   4900         -120\.222             0\.020            0\.013\\nChain 1:   5000         -119\.012             0\.020            0\.013\\nChain 1:   5100         -123\.358             0\.022            0\.013\\nChain 1:   5200         -121\.684             0\.019            0\.013\\nChain 1:   5300         -119\.732             0\.015            0\.013\\nChain 1:   5400         -121\.240             0\.015            0\.013\\nChain 1:   5500         -125\.136             0\.018            0\.014\\nChain 1:   5600         -119\.792             0\.019            0\.014\\nChain 1:   5700         -122\.483             0\.021            0\.016\\nChain 1:   5800         -121\.427             0\.021            0\.016\\nChain 1:   5900         -122\.173             0\.020            0\.016\\nChain 1:   6000         -120\.645             0\.020            0\.016\\nChain 1:   6100         -121\.056             0\.017            0\.014\\nChain 1:   6200         -120\.813             0\.016            0\.013\\nChain 1:   6300         -121\.168             0\.015            0\.012\\nChain 1:   6400         -118\.310             0\.016            0\.013\\nChain 1:   6500         -123\.475             0\.017            0\.013\\nChain 1:   6600         -120\.436             0\.015            0\.013\\nChain 1:   6700         -119\.702             0\.013            0\.009   MEDIAN ELBO CONVERGED\\nChain 1: Drawing a sample of size 1000 from the approximate posterior\.\.\. "
  
  ── 5. Failure: model with lasso prior doesn't error (@test_stan_glm.R#348)  ────
  `\.\.\. <- NULL` does not match "Begin stochastic gradient ascent".
  Actual value: "Chain 1: Gradient evaluation took 8\.6e-05 seconds\\nChain 1: 1000 transitions using 10 leapfrog steps per transition would take 0\.86 seconds\.\\nChain 1: Iteration:   1 / 250 \[  0%\]  \(Adaptation\)\\nChain 1: Iteration:  50 / 250 \[ 20%\]  \(Adaptation\)\\nChain 1: Iteration: 100 / 250 \[ 40%\]  \(Adaptation\)\\nChain 1: Iteration: 150 / 250 \[ 60%\]  \(Adaptation\)\\nChain 1: Iteration: 200 / 250 \[ 80%\]  \(Adaptation\)\\nChain 1: Success! Found best value \[eta = 1\] earlier than expected\.\\nChain 1:    100         -138\.034             1\.000            1\.000\\nChain 1:    200         -122\.922             0\.561            1\.000\\nChain 1:    300         -125\.744             0\.382            0\.123\\nChain 1:    400         -100\.677             0\.349            0\.249\\nChain 1:    500         -100\.422             0\.279            0\.123\\nChain 1:    600         -104\.200             0\.239            0\.123\\nChain 1:    700          -98\.514             0\.213            0\.058\\nChain 1:    800          -98\.505             0\.186            0\.058\\nChain 1:    900          -99\.020             0\.166            0\.036\\nChain 1:   1000          -98\.183             0\.150            0\.036\\nChain 1:   1100          -98\.478             0\.051            0\.022\\nChain 1:   1200          -98\.368             0\.039            0\.009   MEDIAN ELBO CONVERGED\\nChain 1: Drawing a sample of size 1000 from the approximate posterior\.\.\. "
  
  ── 6. Failure: model with product_normal prior doesn't error (@test_stan_glm.R#3
  `\.\.\. <- NULL` does not match "Begin stochastic gradient ascent".
  Actual value: "Chain 1: Gradient evaluation took 8\.4e-05 seconds\\nChain 1: 1000 transitions using 10 leapfrog steps per transition would take 0\.84 seconds\.\\nChain 1: Iteration:   1 / 250 \[  0%\]  \(Adaptation\)\\nChain 1: Iteration:  50 / 250 \[ 20%\]  \(Adaptation\)\\nChain 1: Iteration: 100 / 250 \[ 40%\]  \(Adaptation\)\\nChain 1: Iteration: 150 / 250 \[ 60%\]  \(Adaptation\)\\nChain 1: Iteration: 200 / 250 \[ 80%\]  \(Adaptation\)\\nChain 1: Success! Found best value \[eta = 1\] earlier than expected\.\\nChain 1:    100         -231\.752             1\.000            1\.000\\nChain 1:    200         -144\.517             0\.802            1\.000\\nChain 1:    300         -137\.947             0\.550            0\.604\\nChain 1:    400         -132\.197             0\.424            0\.604\\nChain 1:    500         -127\.393             0\.346            0\.048\\nChain 1:    600         -115\.649             0\.306            0\.102\\nChain 1:    700         -107\.756             0\.272            0\.073\\nChain 1:    800         -106\.304             0\.240            0\.073\\nChain 1:    900         -105\.106             0\.215            0\.048\\nChain 1:   1000         -106\.516             0\.195            0\.048\\nChain 1:   1100         -105\.544             0\.095            0\.043\\nChain 1:   1200         -104\.714             0\.036            0\.038\\nChain 1:   1300         -108\.445             0\.035            0\.034\\nChain 1:   1400         -106\.256             0\.032            0\.021\\nChain 1:   1500         -105\.017             0\.030            0\.014\\nChain 1:   1600         -105\.157             0\.020            0\.013\\nChain 1:   1700         -103\.911             0\.014            0\.012\\nChain 1:   1800         -105\.224             0\.013            0\.012\\nChain 1:   1900         -105\.064             0\.012            0\.012\\nChain 1:   2000         -104\.364             0\.012            0\.012\\nChain 1:   2100         -104\.728             0\.011            0\.012\\nChain 1:   2200         -104\.624             0\.011            0\.012\\nChain 1:   2300         -105\.844             0\.008            0\.012   MEAN ELBO CONVERGED\\nChain 1: Drawing a sample of size 1000 from the approximate posterior\.\.\. "
  
  Chain 1: Gradient evaluation took 6.7e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.67 seconds.
  Chain 1:  Elapsed Time: 0.000308 seconds (Warm-up)
  Chain 1:                0.000251 seconds (Sampling)
  Chain 1:                0.000559 seconds (Total)
  Chain 1: Gradient evaluation took 6e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.6 seconds.
  Chain 1:  Elapsed Time: 0.000167 seconds (Warm-up)
  Chain 1:                0.000232 seconds (Sampling)
  Chain 1:                0.000399 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000208 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 2.08 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 5.14998 seconds (Warm-up)
  Chain 1:                1.7268 seconds (Sampling)
  Chain 1:                6.87678 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 0.00019 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 1.9 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 8.07702 seconds (Warm-up)
  Chain 2:                2.41028 seconds (Sampling)
  Chain 2:                10.4873 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 8.5e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.85 seconds.
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.001695 seconds (Warm-up)
  Chain 1:                0.002001 seconds (Sampling)
  Chain 1:                0.003696 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 8.4e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.84 seconds.
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.001638 seconds (Warm-up)
  Chain 1:                0.001851 seconds (Sampling)
  Chain 1:                0.003489 seconds (Total)
  
  SAMPLING FOR MODEL 'binomial' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000141 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.41 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.820882 seconds (Warm-up)
  Chain 1:                0.383682 seconds (Sampling)
  Chain 1:                1.20456 seconds (Total)
  
  SAMPLING FOR MODEL 'binomial' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 0.000115 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 1.15 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 0.551791 seconds (Warm-up)
  Chain 2:                0.304327 seconds (Sampling)
  Chain 2:                0.856118 seconds (Total)
  Chain 1: Gradient evaluation took 0.001193 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 11.93 seconds.
  Chain 1: Iteration:   1 / 250 [  0%]  (Adaptation)
  Chain 1: Iteration:  50 / 250 [ 20%]  (Adaptation)
  Chain 1: Iteration: 100 / 250 [ 40%]  (Adaptation)
  Chain 1: Iteration: 150 / 250 [ 60%]  (Adaptation)
  Chain 1: Iteration: 200 / 250 [ 80%]  (Adaptation)
  Chain 1: Success! Found best value [eta = 1] earlier than expected.
  Chain 1:    100        -3300.050             1.000            1.000
  Chain 1:    200        -2984.270             0.553            1.000
  Chain 1:    300        -2971.594             0.055            0.106
  Chain 1:    400        -2980.231             0.004            0.004   MEAN ELBO CONVERGED   MEDIAN ELBO CONVERGED
  Chain 1: Drawing a sample of size 1000 from the approximate posterior... 
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000109 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.09 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 1.20599 seconds (Warm-up)
  Chain 1:                0.695304 seconds (Sampling)
  Chain 1:                1.90129 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 7.2e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.72 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 1.9551 seconds (Warm-up)
  Chain 2:                0.664986 seconds (Sampling)
  Chain 2:                2.62009 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 6.4e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.64 seconds.
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.00085 seconds (Warm-up)
  Chain 1:                0.000599 seconds (Sampling)
  Chain 1:                0.001449 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 4.1e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.41 seconds.
  Chain 2: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 2: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 2: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 2: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 2: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 2: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 2: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 2: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 2: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 2: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 0.001012 seconds (Warm-up)
  Chain 2:                0.004142 seconds (Sampling)
  Chain 2:                0.005154 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 3).
  Chain 3: Gradient evaluation took 3.3e-05 seconds
  Chain 3: 1000 transitions using 10 leapfrog steps per transition would take 0.33 seconds.
  Chain 3: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 3: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 3: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 3: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 3: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 3: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 3: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 3: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 3: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 3: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 3:  Elapsed Time: 0.00241 seconds (Warm-up)
  Chain 3:                0.001751 seconds (Sampling)
  Chain 3:                0.004161 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 4).
  Chain 4: Gradient evaluation took 3.3e-05 seconds
  Chain 4: 1000 transitions using 10 leapfrog steps per transition would take 0.33 seconds.
  Chain 4: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 4: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 4: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 4: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 4: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 4: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 4: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 4: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 4: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 4: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 4:  Elapsed Time: 0.000949 seconds (Warm-up)
  Chain 4:                0.000885 seconds (Sampling)
  Chain 4:                0.001834 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000162 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.62 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 1.95268 seconds (Warm-up)
  Chain 1:                1.05574 seconds (Sampling)
  Chain 1:                3.00842 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 0.000132 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 1.32 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 2.3586 seconds (Warm-up)
  Chain 2:                1.1227 seconds (Sampling)
  Chain 2:                3.48129 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.00017 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.7 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 1.72045 seconds (Warm-up)
  Chain 1:                0.996934 seconds (Sampling)
  Chain 1:                2.71739 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 0.000116 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 1.16 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 2.26862 seconds (Warm-up)
  Chain 2:                1.0713 seconds (Sampling)
  Chain 2:                3.33992 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 9.7e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.97 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.57387 seconds (Warm-up)
  Chain 1:                0.259263 seconds (Sampling)
  Chain 1:                0.833133 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 4.6e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.46 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 0.470984 seconds (Warm-up)
  Chain 2:                0.172282 seconds (Sampling)
  Chain 2:                0.643266 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 7.6e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.76 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.571787 seconds (Warm-up)
  Chain 1:                0.247995 seconds (Sampling)
  Chain 1:                0.819782 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 4.2e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.42 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 0.531804 seconds (Warm-up)
  Chain 2:                0.165082 seconds (Sampling)
  Chain 2:                0.696886 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000137 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.37 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 1.82377 seconds (Warm-up)
  Chain 1:                1.20323 seconds (Sampling)
  Chain 1:                3.027 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 9e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.9 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 1.14798 seconds (Warm-up)
  Chain 2:                0.977721 seconds (Sampling)
  Chain 2:                2.1257 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 8.3e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.83 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.490925 seconds (Warm-up)
  Chain 1:                0.201928 seconds (Sampling)
  Chain 1:                0.692853 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 3.9e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.39 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 0.611994 seconds (Warm-up)
  Chain 2:                0.189396 seconds (Sampling)
  Chain 2:                0.80139 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000118 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.18 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.487793 seconds (Warm-up)
  Chain 1:                0.17681 seconds (Sampling)
  Chain 1:                0.664603 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 4.6e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.46 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 0.636358 seconds (Warm-up)
  Chain 2:                0.215095 seconds (Sampling)
  Chain 2:                0.851453 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000117 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.17 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 1.58639 seconds (Warm-up)
  Chain 1:                1.27635 seconds (Sampling)
  Chain 1:                2.86274 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 8.4e-05 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0.84 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 1.55766 seconds (Warm-up)
  Chain 2:                1.23351 seconds (Sampling)
  Chain 2:                2.79117 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 0.000175 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 1.75 seconds.
  Chain 1: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 1: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 1: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 2.80221 seconds (Warm-up)
  Chain 1:                0.850764 seconds (Sampling)
  Chain 1:                3.65298 seconds (Total)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: Gradient evaluation took 0.000104 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 1.04 seconds.
  Chain 2: Iteration:   1 / 400 [  0%]  (Warmup)
  Chain 2: Iteration: 201 / 400 [ 50%]  (Sampling)
  Chain 2: Iteration: 400 / 400 [100%]  (Sampling)
  Chain 2:  Elapsed Time: 2.82304 seconds (Warm-up)
  Chain 2:                1.63634 seconds (Sampling)
  Chain 2:                4.45939 seconds (Total)
  ── 7. Failure: stan_lm doesn't break with vb algorithms (@test_stan_lm.R#69)  ──
  `\.\.\. <- NULL` does not match "Begin stochastic gradient ascent".
  Actual value: "Chain 1: Gradient evaluation took 4\.9e-05 seconds\\nChain 1: 1000 transitions using 10 leapfrog steps per transition would take 0\.49 seconds\.\\nChain 1: Iteration:   1 / 250 \[  0%\]  \(Adaptation\)\\nChain 1: Iteration:  50 / 250 \[ 20%\]  \(Adaptation\)\\nChain 1: Iteration: 100 / 250 \[ 40%\]  \(Adaptation\)\\nChain 1: Iteration: 150 / 250 \[ 60%\]  \(Adaptation\)\\nChain 1: Iteration: 200 / 250 \[ 80%\]  \(Adaptation\)\\nChain 1: Success! Found best value \[eta = 1\] earlier than expected\.\\nChain 1:    100  -1548565140\.195             1\.000            1\.000\\nChain 1:    200  -25213023476\.814             0\.969            1\.000\\nChain 1:    300  -23670827122\.234             0\.668            0\.939\\nChain 1:    400  -37805206328\.575             0\.594            0\.939\\nChain 1:    500  -4026087692\.690             2\.154            0\.939\\nChain 1:    600    -33446966\.014            21\.690            1\.000\\nChain 1:    700   -960695722\.358            18\.729            0\.965\\nChain 1:    800    -32738990\.976            19\.931            1\.000\\nChain 1:    900      -499281\.074            24\.891            1\.000\\nChain 1:   1000        -2227\.030            44\.721            8\.390\\nChain 1:   1100         -550\.387            44\.926            8\.390   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   1200         -280\.157            44\.929            8\.390   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   1300         -184\.070            44\.974            8\.390   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   1400         -135\.148            44\.973            8\.390   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   1500         -125\.429            44\.142            3\.046   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   1600         -124\.025            32\.206            0\.965   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   1700         -122\.856            32\.110            0\.965   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   1800         -122\.555            29\.276            0\.522   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   1900         -124\.637            22\.820            0\.362   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   2000         -122\.582             0\.503            0\.077   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   2100         -122\.329             0\.198            0\.017\\nChain 1:   2200         -124\.549             0\.104            0\.017\\nChain 1:   2300         -123\.066             0\.053            0\.017\\nChain 1:   2400         -121\.453             0\.018            0\.013\\nChain 1:   2500         -123\.112             0\.012            0\.013\\nChain 1:   2600         -121\.666             0\.012            0\.013\\nChain 1:   2700         -123\.988             0\.013            0\.013\\nChain 1:   2800         -121\.867             0\.014            0\.017\\nChain 1:   2900         -122\.112             0\.013            0\.013\\nChain 1:   3000         -121\.967             0\.011            0\.013\\nChain 1:   3100         -121\.530             0\.011            0\.013\\nChain 1:   3200         -123\.423             0\.011            0\.013\\nChain 1:   3300         -121\.508             0\.011            0\.013\\nChain 1:   3400         -120\.391             0\.011            0\.013\\nChain 1:   3500         -121\.532             0\.010            0\.012\\nChain 1:   3600         -120\.454             0\.010            0\.009   MEDIAN ELBO CONVERGED\\nChain 1: Drawing a sample of size 1000 from the approximate posterior\.\.\. "
  
  ── 8. Failure: stan_lm doesn't break with vb algorithms (@test_stan_lm.R#75)  ──
  `fit2 <- update\(fit, algorithm = "fullrank"\)` does not match "Begin stochastic gradient ascent".
  Actual value: "Chain 1: Gradient evaluation took 4\.6e-05 seconds\\nChain 1: 1000 transitions using 10 leapfrog steps per transition would take 0\.46 seconds\.\\nChain 1: Iteration:   1 / 250 \[  0%\]  \(Adaptation\)\\nChain 1: Iteration:  50 / 250 \[ 20%\]  \(Adaptation\)\\nChain 1: Iteration: 100 / 250 \[ 40%\]  \(Adaptation\)\\nChain 1: Iteration: 150 / 250 \[ 60%\]  \(Adaptation\)\\nChain 1: Iteration: 200 / 250 \[ 80%\]  \(Adaptation\)\\nChain 1: Iteration: 250 / 250 \[100%\]  \(Adaptation\)\\nChain 1: Success! Found best value \[eta = 0\.1\]\.\\nChain 1:    100        -1565\.068             1\.000            1\.000\\nChain 1:    200         -339\.807             2\.303            3\.606\\nChain 1:    300         -169\.766             1\.869            1\.002\\nChain 1:    400         -151\.153             1\.433            1\.002\\nChain 1:    500         -140\.843             1\.161            1\.000\\nChain 1:    600         -128\.733             0\.983            1\.000\\nChain 1:    700         -125\.595             0\.846            0\.123\\nChain 1:    800         -121\.087             0\.745            0\.123\\nChain 1:    900         -121\.534             0\.663            0\.094\\nChain 1:   1000         -117\.641             0\.600            0\.094\\nChain 1:   1100         -121\.517             0\.503            0\.073   MAY BE DIVERGING\.\.\. INSPECT ELBO\\nChain 1:   1200         -114\.677             0\.148            0\.060\\nChain 1:   1300         -119\.327             0\.052            0\.039\\nChain 1:   1400         -114\.025             0\.044            0\.039\\nChain 1:   1500         -114\.361             0\.037            0\.037\\nChain 1:   1600         -114\.423             0\.028            0\.033\\nChain 1:   1700         -115\.041             0\.026            0\.033\\nChain 1:   1800         -114\.858             0\.022            0\.032\\nChain 1:   1900         -113\.750             0\.023            0\.032\\nChain 1:   2000         -112\.813             0\.021            0\.010   MEDIAN ELBO CONVERGED\\nChain 1: Drawing a sample of size 1000 from the approximate posterior\.\.\. "
  
  
  SAMPLING FOR MODEL 'lm' NOW (CHAIN 1).
  Chain 1: Gradient evaluation took 4.3e-05 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0.43 seconds.
  Chain 1: Iteration: 1 / 10 [ 10%]  (Warmup)
  Chain 1: Iteration: 2 / 10 [ 20%]  (Warmup)
  Chain 1: Iteration: 3 / 10 [ 30%]  (Warmup)
  Chain 1: Iteration: 4 / 10 [ 40%]  (Warmup)
  Chain 1: Iteration: 5 / 10 [ 50%]  (Warmup)
  Chain 1: Iteration: 6 / 10 [ 60%]  (Sampling)
  Chain 1: Iteration: 7 / 10 [ 70%]  (Sampling)
  Chain 1: Iteration: 8 / 10 [ 80%]  (Sampling)
  Chain 1: Iteration: 9 / 10 [ 90%]  (Sampling)
  Chain 1: Iteration: 10 / 10 [100%]  (Sampling)
  Chain 1:  Elapsed Time: 0.000347 seconds (Warm-up)
  Chain 1:                0.000367 seconds (Sampling)
  Chain 1:                0.000714 seconds (Total)
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 1857 SKIPPED: 2 FAILED: 8
  1. Error: print and summary methods ok for optimization (@test_methods.R#648) 
  2. Failure: pp_validate runs for very quick example (@test_pp_validate.R#36) 
  3. Failure: model with hs prior doesn't error (@test_stan_glm.R#325) 
  4. Failure: model with laplace prior doesn't error (@test_stan_glm.R#340) 
  5. Failure: model with lasso prior doesn't error (@test_stan_glm.R#348) 
  6. Failure: model with product_normal prior doesn't error (@test_stan_glm.R#356) 
  7. Failure: stan_lm doesn't break with vb algorithms (@test_stan_lm.R#69) 
  8. Failure: stan_lm doesn't break with vb algorithms (@test_stan_lm.R#75) 
  
  Error: testthat unit tests failed
  Execution halted
  Error while shutting down parallel: unable to terminate some child processes