Running ‘testthat.R’ [339s/417s]
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.3, packaged: 2018-02-17 05:11:16 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,
  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).
  
  Gradient evaluation took 0.000146 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.46 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 500 [  0%]  (Warmup)
  Iteration:  50 / 500 [ 10%]  (Warmup)
  Iteration: 100 / 500 [ 20%]  (Warmup)
  Iteration: 150 / 500 [ 30%]  (Warmup)
  Iteration: 200 / 500 [ 40%]  (Warmup)
  Iteration: 250 / 500 [ 50%]  (Warmup)
  Iteration: 251 / 500 [ 50%]  (Sampling)
  Iteration: 300 / 500 [ 60%]  (Sampling)
  Iteration: 350 / 500 [ 70%]  (Sampling)
  Iteration: 400 / 500 [ 80%]  (Sampling)
  Iteration: 450 / 500 [ 90%]  (Sampling)
  Iteration: 500 / 500 [100%]  (Sampling)
  
   Elapsed Time: 1.05274 seconds (Warm-up)
                 0.330044 seconds (Sampling)
                 1.38278 seconds (Total)
  
  
  SAMPLING FOR MODEL 'binomial' NOW (CHAIN 2).
  
  Gradient evaluation took 9.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.95 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 500 [  0%]  (Warmup)
  Iteration:  50 / 500 [ 10%]  (Warmup)
  Iteration: 100 / 500 [ 20%]  (Warmup)
  Iteration: 150 / 500 [ 30%]  (Warmup)
  Iteration: 200 / 500 [ 40%]  (Warmup)
  Iteration: 250 / 500 [ 50%]  (Warmup)
  Iteration: 251 / 500 [ 50%]  (Sampling)
  Iteration: 300 / 500 [ 60%]  (Sampling)
  Iteration: 350 / 500 [ 70%]  (Sampling)
  Iteration: 400 / 500 [ 80%]  (Sampling)
  Iteration: 450 / 500 [ 90%]  (Sampling)
  Iteration: 500 / 500 [100%]  (Sampling)
  
   Elapsed Time: 0.899458 seconds (Warm-up)
                 0.322579 seconds (Sampling)
                 1.22204 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.6    0.6  
  size         0.0    0.0  
  period2     -1.0    0.3  
  period3     -1.1    0.4  
  period4     -1.5    0.4  
  
  Error terms:
   Groups Name        Std.Dev.
   herd   (Intercept) 0.81    
  Num. levels: herd 15 
  
  Sample avg. posterior predictive distribution of y:
           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")
  Initial log joint probability = -3395
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  ------------------------------------------------------------
  EXPERIMENTAL ALGORITHM:
    This procedure has not been thoroughly tested and may be unstable
    or buggy. The interface is subject to change.
  ------------------------------------------------------------
  
  
  
  Gradient evaluation took 3.8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.38 seconds.
  Adjust your expectations accordingly!
  
  
  Begin eta adaptation.
  Iteration:   1 / 250 [  0%]  (Adaptation)
  Iteration:  50 / 250 [ 20%]  (Adaptation)
  Iteration: 100 / 250 [ 40%]  (Adaptation)
  Iteration: 150 / 250 [ 60%]  (Adaptation)
  Iteration: 200 / 250 [ 80%]  (Adaptation)
  Success! Found best value [eta = 1] earlier than expected.
  
  Begin stochastic gradient ascent.
    iter       ELBO   delta_ELBO_mean   delta_ELBO_med   notes 
  Informational Message: The maximum number of iterations is reached! The algorithm may not have converged.
  This variational approximation is not guaranteed to be meaningful.
  
  Drawing a sample of size 1000 from the approximate posterior... 
  COMPLETED.
  ------------------------------------------------------------
  EXPERIMENTAL ALGORITHM:
    This procedure has not been thoroughly tested and may be unstable
    or buggy. The interface is subject to change.
  ------------------------------------------------------------
  
  
  
  Gradient evaluation took 3.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.36 seconds.
  Adjust your expectations accordingly!
  
  
  Begin eta adaptation.
  Iteration:   1 / 250 [  0%]  (Adaptation)
  Iteration:  50 / 250 [ 20%]  (Adaptation)
  Iteration: 100 / 250 [ 40%]  (Adaptation)
  Iteration: 150 / 250 [ 60%]  (Adaptation)
  Success! Found best value [eta = 10] earlier than expected.
  
  Begin stochastic gradient ascent.
    iter       ELBO   delta_ELBO_mean   delta_ELBO_med   notes 
  Informational Message: The maximum number of iterations is reached! The algorithm may not have converged.
  This variational approximation is not guaranteed to be meaningful.
  
  Drawing a sample of size 1000 from the approximate posterior... 
  COMPLETED.
  
  Gradient evaluation took 6.3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.63 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.010981 seconds (Warm-up)
                 0.006762 seconds (Sampling)
                 0.017743 seconds (Total)
  
  
  Gradient evaluation took 3.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.32 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.005334 seconds (Warm-up)
                 0.020935 seconds (Sampling)
                 0.026269 seconds (Total)
  
  
  Gradient evaluation took 3.3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.33 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.006597 seconds (Warm-up)
                 0.003736 seconds (Sampling)
                 0.010333 seconds (Total)
  
  
  Gradient evaluation took 4.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.41 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.004755 seconds (Warm-up)
                 0.031863 seconds (Sampling)
                 0.036618 seconds (Total)
  
  ── 1. Error: loo issues errors/warnings (@test_loo.R#86)  ──────────────────────
  is.data.frame(data) || is.matrix(data) is not TRUE
  1: expect_warning(loo(example_model, k_threshold = 2), "Setting 'k_threshold' > 1 is not recommended") at testthat/test_loo.R:86
  2: quasi_capture(enquo(object), capture_warnings, label = label)
  3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  4: withCallingHandlers(code, warning = function(condition) {
         out$push(condition)
         invokeRestart("muffleWarning")
     })
  5: eval_bare(get_expr(quo), get_env(quo))
  6: loo(example_model, k_threshold = 2)
  7: loo.stanreg(example_model, k_threshold = 2)
  8: suppressWarnings(loo.function(ll_fun(x), args = ll_args(x), ...))
  9: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  10: loo.function(ll_fun(x), args = ll_args(x), ...)
  11: stopifnot(is.data.frame(data) || is.matrix(data), !is.null(draws))
  
  
  Gradient evaluation took 3.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.35 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 15
             adapt_window = 75
             term_buffer = 10
  
  
   Elapsed Time: 0.01391 seconds (Warm-up)
                 0.018209 seconds (Sampling)
                 0.032119 seconds (Total)
  
  
  Gradient evaluation took 2.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.25 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 15
             adapt_window = 75
             term_buffer = 10
  
  
   Elapsed Time: 0.01689 seconds (Warm-up)
                 0.016098 seconds (Sampling)
                 0.032988 seconds (Total)
  
  
  Gradient evaluation took 2.7e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.27 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 15
             adapt_window = 75
             term_buffer = 10
  
  
   Elapsed Time: 0.017288 seconds (Warm-up)
                 0.014717 seconds (Sampling)
                 0.032005 seconds (Total)
  
  
  Gradient evaluation took 1.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.19 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 15
             adapt_window = 75
             term_buffer = 10
  
  
   Elapsed Time: 0.021674 seconds (Warm-up)
                 0.015546 seconds (Sampling)
                 0.03722 seconds (Total)
  
  ── 2. Error: loo with k_threshold works for edge case(s) (@test_loo.R#120)  ────
  is.data.frame(data) || is.matrix(data) is not TRUE
  1: expect_message(SW(res <- loo(fit, k_threshold = 0.1)), "problematic observation\\(s\\) found") at testthat/test_loo.R:120
  2: quasi_capture(enquo(object), capture_messages, label = label)
  3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  4: withCallingHandlers(code, message = function(condition) {
         out$push(condition)
         invokeRestart("muffleMessage")
     })
  5: eval_bare(get_expr(quo), get_env(quo))
  6: SW(res <- loo(fit, k_threshold = 0.1))
  7: base::suppressWarnings(expr)
  8: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  9: loo(fit, k_threshold = 0.1)
  10: loo.stanreg(fit, k_threshold = 0.1)
  11: suppressWarnings(loo.function(ll_fun(x), args = ll_args(x), ...))
  12: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  13: loo.function(ll_fun(x), args = ll_args(x), ...)
  14: stopifnot(is.data.frame(data) || is.matrix(data), !is.null(draws))
  
  Initial log joint probability = -306.809
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  
  Gradient evaluation took 4.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.49 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.007961 seconds (Warm-up)
                 0.004763 seconds (Sampling)
                 0.012724 seconds (Total)
  
  
  Gradient evaluation took 3.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.32 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.008108 seconds (Warm-up)
                 0.009576 seconds (Sampling)
                 0.017684 seconds (Total)
  
  
  Gradient evaluation took 4.3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.43 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.004827 seconds (Warm-up)
                 0.007756 seconds (Sampling)
                 0.012583 seconds (Total)
  
  
  Gradient evaluation took 4.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.42 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.004352 seconds (Warm-up)
                 0.008592 seconds (Sampling)
                 0.012944 seconds (Total)
  
  
  Gradient evaluation took 4.3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.43 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.010069 seconds (Warm-up)
                 0.016347 seconds (Sampling)
                 0.026416 seconds (Total)
  
  
  Gradient evaluation took 4.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.41 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.004693 seconds (Warm-up)
                 0.010764 seconds (Sampling)
                 0.015457 seconds (Total)
  
  
  Gradient evaluation took 4.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.46 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.009482 seconds (Warm-up)
                 0.010086 seconds (Sampling)
                 0.019568 seconds (Total)
  
  
  Gradient evaluation took 7.7e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.77 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.600584 seconds (Warm-up)
                 0.371355 seconds (Sampling)
                 0.971939 seconds (Total)
  
  
  Gradient evaluation took 6.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.65 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.63037 seconds (Warm-up)
                 0.382242 seconds (Sampling)
                 1.01261 seconds (Total)
  
  
  Gradient evaluation took 8.3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.83 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.457164 seconds (Warm-up)
                 0.25972 seconds (Sampling)
                 0.716884 seconds (Total)
  
  
  Gradient evaluation took 5.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.56 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.492361 seconds (Warm-up)
                 0.356492 seconds (Sampling)
                 0.848853 seconds (Total)
  
  
   4-fold cross-validation
  
             Estimate  SE
  elpd_kfold    -78.4 3.0
  
   2-fold cross-validation
  
             Estimate  SE
  elpd_kfold    -93.9 7.4
  
  Gradient evaluation took 4.4e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.44 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.010966 seconds (Warm-up)
                 0.014184 seconds (Sampling)
                 0.02515 seconds (Total)
  
  
  Gradient evaluation took 4.4e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.44 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.011479 seconds (Warm-up)
                 0.017484 seconds (Sampling)
                 0.028963 seconds (Total)
  
  ── 3. Error: compare_models throws correct errors (@test_loo.R#182)  ───────────
  is.data.frame(data) || is.matrix(data) is not TRUE
  1: SW(capture.output({
         mtcars$mpg <- as.integer(mtcars$mpg)
         fit1 <- stan_glm(mpg ~ wt, data = mtcars, iter = 5, chains = 2, refresh = -1)
         fit2 <- update(fit1, data = mtcars[-1, ])
         fit3 <- update(fit1, formula. = log(mpg) ~ .)
         fit4 <- update(fit1, family = poisson("log"))
         l1 <- loo(fit1)
         l2 <- loo(fit2)
         l3 <- loo(fit3)
         l4 <- loo(fit4)
         w1 <- waic(fit1)
         k1 <- kfold(fit1, K = 3)
     })) at testthat/test_loo.R:182
  2: base::suppressWarnings(expr)
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: capture.output({
         mtcars$mpg <- as.integer(mtcars$mpg)
         fit1 <- stan_glm(mpg ~ wt, data = mtcars, iter = 5, chains = 2, refresh = -1)
         fit2 <- update(fit1, data = mtcars[-1, ])
         fit3 <- update(fit1, formula. = log(mpg) ~ .)
         fit4 <- update(fit1, family = poisson("log"))
         l1 <- loo(fit1)
         l2 <- loo(fit2)
         l3 <- loo(fit3)
         l4 <- loo(fit4)
         w1 <- waic(fit1)
         k1 <- kfold(fit1, K = 3)
     })
  5: evalVis(expr)
  6: withVisible(eval(expr, pf))
  7: eval(expr, pf)
  8: eval(expr, pf)
  9: loo(fit1)
  10: loo.stanreg(fit1)
  11: suppressWarnings(loo.function(ll_fun(x), args = ll_args(x), ...))
  12: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  13: loo.function(ll_fun(x), args = ll_args(x), ...)
  14: stopifnot(is.data.frame(data) || is.matrix(data), !is.null(draws))
  
  ── 4. Error: compare_models works (@test_loo.R#223)  ───────────────────────────
  is.data.frame(data) || is.matrix(data) is not TRUE
  1: SW(capture.output({
         mtcars$mpg <- as.integer(mtcars$mpg)
         fit1 <- stan_glm(mpg ~ wt, data = mtcars, iter = 40, chains = 2, refresh = -1)
         fit2 <- update(fit1, formula. = . ~ . + cyl)
         fit3 <- update(fit2, formula. = . ~ . + gear)
         fit4 <- update(fit1, family = "poisson")
         fit5 <- update(fit1, family = "neg_binomial_2")
         l1 <- loo(fit1)
         l2 <- loo(fit2)
         l3 <- loo(fit3)
         l4 <- loo(fit4)
         l5 <- loo(fit5)
         k1 <- kfold(fit1, K = 2)
         k2 <- kfold(fit2, K = 2)
         k3 <- kfold(fit3, K = 3)
         k4 <- kfold(fit4, K = 2)
         k5 <- kfold(fit5, K = 2)
     })) at testthat/test_loo.R:223
  2: base::suppressWarnings(expr)
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: capture.output({
         mtcars$mpg <- as.integer(mtcars$mpg)
         fit1 <- stan_glm(mpg ~ wt, data = mtcars, iter = 40, chains = 2, refresh = -1)
         fit2 <- update(fit1, formula. = . ~ . + cyl)
         fit3 <- update(fit2, formula. = . ~ . + gear)
         fit4 <- update(fit1, family = "poisson")
         fit5 <- update(fit1, family = "neg_binomial_2")
         l1 <- loo(fit1)
         l2 <- loo(fit2)
         l3 <- loo(fit3)
         l4 <- loo(fit4)
         l5 <- loo(fit5)
         k1 <- kfold(fit1, K = 2)
         k2 <- kfold(fit2, K = 2)
         k3 <- kfold(fit3, K = 3)
         k4 <- kfold(fit4, K = 2)
         k5 <- kfold(fit5, K = 2)
     })
  5: evalVis(expr)
  6: withVisible(eval(expr, pf))
  7: eval(expr, pf)
  8: eval(expr, pf)
  9: loo(fit1)
  10: loo.stanreg(fit1)
  11: suppressWarnings(loo.function(ll_fun(x), args = ll_args(x), ...))
  12: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  13: loo.function(ll_fun(x), args = ll_args(x), ...)
  14: stopifnot(is.data.frame(data) || is.matrix(data), !is.null(draws))
  
  
  Gradient evaluation took 3.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.35 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.002607 seconds (Warm-up)
                 0.006676 seconds (Sampling)
                 0.009283 seconds (Total)
  
  
  Gradient evaluation took 2.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.25 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.000961 seconds (Warm-up)
                 0.001538 seconds (Sampling)
                 0.002499 seconds (Total)
  
  
  Gradient evaluation took 4.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.46 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.010577 seconds (Warm-up)
                 0.006173 seconds (Sampling)
                 0.01675 seconds (Total)
  
  
  Gradient evaluation took 3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.3 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.005825 seconds (Warm-up)
                 0.005078 seconds (Sampling)
                 0.010903 seconds (Total)
  
  Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) : 
    object 'SEED' not found
  Initial log joint probability = -25083.8
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  ------------------------------------------------------------
  EXPERIMENTAL ALGORITHM:
    This procedure has not been thoroughly tested and may be unstable
    or buggy. The interface is subject to change.
  ------------------------------------------------------------
  
  
  
  Gradient evaluation took 5.3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.53 seconds.
  Adjust your expectations accordingly!
  
  
  Begin eta adaptation.
  Iteration:   1 / 250 [  0%]  (Adaptation)
  Iteration:  50 / 250 [ 20%]  (Adaptation)
  Iteration: 100 / 250 [ 40%]  (Adaptation)
  Iteration: 150 / 250 [ 60%]  (Adaptation)
  Iteration: 200 / 250 [ 80%]  (Adaptation)
  Success! Found best value [eta = 1] earlier than expected.
  
  Begin stochastic gradient ascent.
    iter       ELBO   delta_ELBO_mean   delta_ELBO_med   notes 
     100     -3e+02             1.000            1.000
     200     -2e+02             0.977            1.000
     300     -1e+02             0.680            0.955
     400     -1e+02             0.517            0.955
     500     -1e+02             0.429            0.087
     600     -1e+02             0.370            0.087
     700     -1e+02             0.325            0.080
     800     -1e+02             0.290            0.080
     900     -1e+02             0.260            0.071
    1000     -1e+02             0.238            0.071
    1100     -1e+02             0.138            0.060
    1200     -1e+02             0.042            0.039
    1300     -1e+02             0.035            0.035
    1400     -1e+02             0.039            0.039
    1500     -1e+02             0.036            0.039
    1600     -1e+02             0.030            0.035
    1700     -1e+02             0.027            0.031
    1800     -1e+02             0.024            0.024
    1900     -1e+02             0.022            0.015
    2000     -1e+02             0.021            0.015
    2100     -1e+02             0.021            0.015
    2200     -1e+02             0.025            0.022
    2300     -1e+02             0.024            0.022
    2400     -1e+02             0.018            0.014
    2500     -1e+02             0.015            0.014
    2600     -1e+02             0.015            0.015
    2700     -1e+02             0.012            0.010
    2800     -1e+02             0.015            0.015
    2900     -1e+02             0.019            0.018
    3000     -1e+02             0.018            0.015
    3100     -1e+02             0.020            0.018
    3200     -1e+02             0.016            0.015
    3300     -1e+02             0.017            0.015
    3400     -1e+02             0.018            0.015
    3500     -1e+02             0.017            0.010
    3600     -1e+02             0.015            0.009   MEDIAN ELBO CONVERGED
  
  Drawing a sample of size 1000 from the approximate posterior... 
  COMPLETED.
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 5.4e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.54 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 10 / 100 [ 10%]  (Warmup)
  Iteration: 20 / 100 [ 20%]  (Warmup)
  Iteration: 30 / 100 [ 30%]  (Warmup)
  Iteration: 40 / 100 [ 40%]  (Warmup)
  Iteration: 50 / 100 [ 50%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 60 / 100 [ 60%]  (Sampling)
  Iteration: 70 / 100 [ 70%]  (Sampling)
  Iteration: 80 / 100 [ 80%]  (Sampling)
  Iteration: 90 / 100 [ 90%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.020504 seconds (Warm-up)
                 0.018914 seconds (Sampling)
                 0.039418 seconds (Total)
  
  
  Gradient evaluation took 5.3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.53 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.338469 seconds (Warm-up)
                 0.284053 seconds (Sampling)
                 0.622522 seconds (Total)
  
  
  Gradient evaluation took 2.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.26 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.279416 seconds (Warm-up)
                 0.277457 seconds (Sampling)
                 0.556873 seconds (Total)
  
  
  Gradient evaluation took 5.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.56 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.341081 seconds (Warm-up)
                 0.295427 seconds (Sampling)
                 0.636508 seconds (Total)
  
  
  Gradient evaluation took 3.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.32 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.319835 seconds (Warm-up)
                 0.308489 seconds (Sampling)
                 0.628324 seconds (Total)
  
  
  Gradient evaluation took 5.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.51 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.335775 seconds (Warm-up)
                 0.310209 seconds (Sampling)
                 0.645984 seconds (Total)
  
  
  Gradient evaluation took 5.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.52 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.306509 seconds (Warm-up)
                 0.30696 seconds (Sampling)
                 0.613469 seconds (Total)
  
  
  Gradient evaluation took 0.000137 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.37 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.181332 seconds (Warm-up)
                 0.111006 seconds (Sampling)
                 0.292338 seconds (Total)
  
  
  Gradient evaluation took 9.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.91 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.173363 seconds (Warm-up)
                 0.113834 seconds (Sampling)
                 0.287197 seconds (Total)
  
  
  Gradient evaluation took 4.4e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.44 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.342448 seconds (Warm-up)
                 0.51975 seconds (Sampling)
                 0.862198 seconds (Total)
  
  
  Gradient evaluation took 4e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.4 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.385341 seconds (Warm-up)
                 0.493839 seconds (Sampling)
                 0.87918 seconds (Total)
  
  
  Gradient evaluation took 5.7e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.57 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.386868 seconds (Warm-up)
                 0.533138 seconds (Sampling)
                 0.920006 seconds (Total)
  
  
  Gradient evaluation took 4.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.41 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.386351 seconds (Warm-up)
                 0.521261 seconds (Sampling)
                 0.907612 seconds (Total)
  
  Initial log joint probability = -470.264
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  ------------------------------------------------------------
  EXPERIMENTAL ALGORITHM:
    This procedure has not been thoroughly tested and may be unstable
    or buggy. The interface is subject to change.
  ------------------------------------------------------------
  
  
  
  Gradient evaluation took 5.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.51 seconds.
  Adjust your expectations accordingly!
  
  
  Begin eta adaptation.
  Iteration:   1 / 250 [  0%]  (Adaptation)
  Iteration:  50 / 250 [ 20%]  (Adaptation)
  Iteration: 100 / 250 [ 40%]  (Adaptation)
  Iteration: 150 / 250 [ 60%]  (Adaptation)
  Iteration: 200 / 250 [ 80%]  (Adaptation)
  Success! Found best value [eta = 1] earlier than expected.
  
  Begin stochastic gradient ascent.
    iter       ELBO   delta_ELBO_mean   delta_ELBO_med   notes 
     100     -1e+02             1.000            1.000
     200     -1e+02             0.549            1.000
     300     -1e+02             0.421            0.164
     400     -1e+02             0.365            0.197
     500     -9e+01             0.299            0.164
     600     -9e+01             0.250            0.164
     700     -9e+01             0.215            0.097
     800     -9e+01             0.189            0.097
     900     -9e+01             0.168            0.038
    1000     -1e+02             0.157            0.058
    1100     -9e+01             0.063            0.058
    1200     -9e+01             0.054            0.038
    1300     -9e+01             0.038            0.012
    1400     -9e+01             0.020            0.012
    1500     -9e+01             0.018            0.012
    1600     -9e+01             0.018            0.012
    1700     -9e+01             0.020            0.012
    1800     -9e+01             0.019            0.012
    1900     -9e+01             0.020            0.012
    2000     -9e+01             0.014            0.012
    2100     -9e+01             0.008            0.009   MEAN ELBO CONVERGED   MEDIAN ELBO CONVERGED
  
  Drawing a sample of size 1000 from the approximate posterior... 
  COMPLETED.
  ------------------------------------------------------------
  EXPERIMENTAL ALGORITHM:
    This procedure has not been thoroughly tested and may be unstable
    or buggy. The interface is subject to change.
  ------------------------------------------------------------
  
  
  
  Gradient evaluation took 5.7e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.57 seconds.
  Adjust your expectations accordingly!
  
  
  Begin eta adaptation.
  Iteration:   1 / 250 [  0%]  (Adaptation)
  Iteration:  50 / 250 [ 20%]  (Adaptation)
  Iteration: 100 / 250 [ 40%]  (Adaptation)
  Iteration: 150 / 250 [ 60%]  (Adaptation)
  Iteration: 200 / 250 [ 80%]  (Adaptation)
  Success! Found best value [eta = 1] earlier than expected.
  
  Begin stochastic gradient ascent.
    iter       ELBO   delta_ELBO_mean   delta_ELBO_med   notes 
     100     -4e+02             1.000            1.000
     200     -2e+02             1.286            1.573
     300     -1e+02             0.937            1.000
     400     -1e+02             0.721            1.000
     500     -1e+02             0.577            0.237
     600     -1e+02             0.497            0.237
     700     -1e+02             0.448            0.154
     800     -1e+02             0.394            0.154
     900     -1e+02             0.355            0.093
    1000     -1e+02             0.328            0.093
    1100     -1e+02             0.228            0.081
    1200     -1e+02             0.072            0.073
    1300     -9e+01             0.051            0.047
    1400     -9e+01             0.045            0.031
    1500     -1e+02             0.051            0.047
    1600     -9e+01             0.049            0.047
    1700     -9e+01             0.034            0.031
    1800     -1e+02             0.034            0.031
    1900     -9e+01             0.034            0.031
    2000     -1e+02             0.029            0.031
    2100     -9e+01             0.030            0.031
    2200     -1e+02             0.032            0.033
    2300     -1e+02             0.033            0.035
    2400     -9e+01             0.041            0.036
    2500     -1e+02             0.041            0.036
    2600     -9e+01             0.041            0.036
    2700     -9e+01             0.041            0.036
    2800     -9e+01             0.040            0.036
    2900     -9e+01             0.037            0.035
    3000     -1e+02             0.040            0.036
    3100     -9e+01             0.047            0.063
    3200     -9e+01             0.044            0.063
    3300     -9e+01             0.042            0.063
    3400     -9e+01             0.035            0.023
    3500     -9e+01             0.029            0.016
    3600     -1e+02             0.024            0.016
    3700     -9e+01             0.027            0.023
    3800     -1e+02             0.028            0.023
    3900     -9e+01             0.031            0.030
    4000     -9e+01             0.027            0.023
    4100     -1e+02             0.021            0.023
    4200     -9e+01             0.023            0.023
    4300     -1e+02             0.023            0.023
    4400     -9e+01             0.023            0.023
    4500     -9e+01             0.026            0.023
    4600     -9e+01             0.026            0.023
    4700     -9e+01             0.025            0.023
    4800     -9e+01             0.024            0.023
    4900     -9e+01             0.020            0.022
    5000     -9e+01             0.020            0.022
    5100     -9e+01             0.020            0.022
    5200     -9e+01             0.019            0.019
    5300     -9e+01             0.017            0.018
    5400     -9e+01             0.018            0.019
    5500     -9e+01             0.016            0.018
    5600     -9e+01             0.014            0.018
    5700     -9e+01             0.013            0.015
    5800     -1e+02             0.016            0.018
    5900     -9e+01             0.021            0.018
    6000     -9e+01             0.022            0.021
    6100     -9e+01             0.021            0.018
    6200     -9e+01             0.020            0.018
    6300     -9e+01             0.021            0.018
    6400     -9e+01             0.020            0.017
    6500     -9e+01             0.020            0.015
    6600     -9e+01             0.021            0.017
    6700     -9e+01             0.022            0.017
    6800     -9e+01             0.020            0.015
    6900     -1e+02             0.019            0.015
    7000     -9e+01             0.021            0.015
    7100     -9e+01             0.021            0.015
    7200     -9e+01             0.021            0.015
    7300     -9e+01             0.021            0.015
    7400     -9e+01             0.020            0.014
    7500     -9e+01             0.019            0.014
    7600     -9e+01             0.018            0.013
    7700     -9e+01             0.017            0.013
    7800     -9e+01             0.018            0.013
    7900     -9e+01             0.014            0.010
    8000     -9e+01             0.010            0.009   MEAN ELBO CONVERGED   MEDIAN ELBO CONVERGED
  
  Drawing a sample of size 1000 from the approximate posterior... 
  COMPLETED.
  
  Gradient evaluation took 0.000105 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.05 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 1.0526 seconds (Warm-up)
                 0.611901 seconds (Sampling)
                 1.6645 seconds (Total)
  
  
  Gradient evaluation took 9.8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.98 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 1.62979 seconds (Warm-up)
                 0.539921 seconds (Sampling)
                 2.16971 seconds (Total)
  
  
  Gradient evaluation took 7.4e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.74 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.017645 seconds (Warm-up)
                 0.015888 seconds (Sampling)
                 0.033533 seconds (Total)
  
  
  Gradient evaluation took 5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.5 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.017891 seconds (Warm-up)
                 0.012489 seconds (Sampling)
                 0.03038 seconds (Total)
  
  
  Gradient evaluation took 6.4e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.64 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.000449 seconds (Warm-up)
                 0.001212 seconds (Sampling)
                 0.001661 seconds (Total)
  
  
  Gradient evaluation took 5.3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.53 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.002239 seconds (Warm-up)
                 0.001813 seconds (Sampling)
                 0.004052 seconds (Total)
  
  ── 5. Error: pp_check.stanreg creates ggplot object (@test_pp_check.R#50)  ─────
  Plotting function not supported. (If the plotting function is included in the output from bayesplot::available_ppc() then it should be available via pp_check and this error is probably a bug.)
  1: expect_gg(suppressWarnings(pp_check(fit, plotfun = f, nreps = j)), info = f) at testthat/test_pp_check.R:50
  2: testthat::expect_is(x, "ggplot", info = info, label = label)
  3: quasi_label(enquo(object), label)
  4: eval_bare(get_expr(quo), get_env(quo))
  5: suppressWarnings(pp_check(fit, plotfun = f, nreps = j))
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: pp_check(fit, plotfun = f, nreps = j)
  8: pp_check.stanreg(fit, plotfun = f, nreps = j)
  9: .ppc_y_and_yrep(object, seed = seed, nreps = .set_nreps(nreps, fun = plotfun_name), 
         binned_resid_plot = isTRUE(plotfun_name == "ppc_error_binned"), ...)
  10: posterior_predict(object, draws = nreps, seed = seed, ...)
  11: posterior_predict.stanreg(object, draws = nreps, seed = seed, ...)
  12: pp_args(object, data = pp_eta(object, dat, draws, m = m), m = m)
  13: pp_eta(object, dat, draws, m = m)
  14: .set_nreps(nreps, fun = plotfun_name)
  15: stop("Plotting function not supported. ", "(If the plotting function is included in the output from ", 
         "bayesplot::available_ppc() then it should be available via pp_check ", "and this error is probably a bug.)")
  
  
  Gradient evaluation took 3.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.39 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.000274 seconds (Warm-up)
                 0.000543 seconds (Sampling)
                 0.000817 seconds (Total)
  
  
  Gradient evaluation took 2.4e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.24 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.000337 seconds (Warm-up)
                 0.00047 seconds (Sampling)
                 0.000807 seconds (Total)
  
  
  Gradient evaluation took 0.00013 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.3 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.009446 seconds (Warm-up)
                 0.010023 seconds (Sampling)
                 0.019469 seconds (Total)
  
  
  Gradient evaluation took 0.000108 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.08 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.010648 seconds (Warm-up)
                 0.009219 seconds (Sampling)
                 0.019867 seconds (Total)
  
  ------------------------------------------------------------
  EXPERIMENTAL ALGORITHM:
    This procedure has not been thoroughly tested and may be unstable
    or buggy. The interface is subject to change.
  ------------------------------------------------------------
  
  
  
  Gradient evaluation took 5.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.52 seconds.
  Adjust your expectations accordingly!
  
  
  Begin eta adaptation.
  Iteration:   1 / 250 [  0%]  (Adaptation)
  Iteration:  50 / 250 [ 20%]  (Adaptation)
  Iteration: 100 / 250 [ 40%]  (Adaptation)
  Iteration: 150 / 250 [ 60%]  (Adaptation)
  Iteration: 200 / 250 [ 80%]  (Adaptation)
  Success! Found best value [eta = 1] earlier than expected.
  
  Begin stochastic gradient ascent.
    iter       ELBO   delta_ELBO_mean   delta_ELBO_med   notes 
     100     -1e+02             1.000            1.000
     200     -1e+02             0.589            1.000
     300     -9e+01             0.467            0.221
     400     -9e+01             0.352            0.221
     500     -9e+01             0.282            0.178
     600     -9e+01             0.237            0.178
     700     -9e+01             0.204            0.012
     800     -9e+01             0.179            0.012
     900     -9e+01             0.159            0.009   MEDIAN ELBO CONVERGED
  
  Drawing a sample of size 1000 from the approximate posterior... 
  COMPLETED.
  
  Gradient evaluation took 8.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.85 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.003068 seconds (Warm-up)
                 0.002621 seconds (Sampling)
                 0.005689 seconds (Total)
  
  
  Gradient evaluation took 4.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.49 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.001565 seconds (Warm-up)
                 0.003228 seconds (Sampling)
                 0.004793 seconds (Total)
  
  Initial log joint probability = -470.264
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  
  Gradient evaluation took 4.8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.48 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.000416 seconds (Warm-up)
                 0.001048 seconds (Sampling)
                 0.001464 seconds (Total)
  
  
  Gradient evaluation took 2.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.25 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.002092 seconds (Warm-up)
                 0.001726 seconds (Sampling)
                 0.003818 seconds (Total)
  
  Initial log joint probability = -578.205
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -154656
  Exception: beta_lpdf: First shape parameter[4] is 0, but must be > 0!  (in 'model_continuous' at line 192)
  
  Exception: beta_lpdf: First shape parameter[4] is 0, but must be > 0!  (in 'model_continuous' at line 192)
  
  Exception: beta_lpdf: First shape parameter[14] is 0, but must be > 0!  (in 'model_continuous' at line 192)
  
  Exception: beta_lpdf: First shape parameter[47] is 0, but must be > 0!  (in 'model_continuous' at line 192)
  
  
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -491.938
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -879.578
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -484.693
  Exception: beta_lpdf: Second shape parameter[1] is 0, but must be > 0!  (in 'model_continuous' at line 185)
  
  
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -426.896
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -615.262
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Rejecting initial value:
    Error evaluating the log probability at the initial value.
  Exception: beta_lpdf: First shape parameter[6] is 0, but must be > 0!  (in 'model_continuous' at line 185)
  
  Rejecting initial value:
    Error evaluating the log probability at the initial value.
  Exception: beta_lpdf: First shape parameter[6] is 0, but must be > 0!  (in 'model_continuous' at line 185)
  
  Initial log joint probability = -257.044
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -578.057
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.00023 seconds
  1000 transitions using 10 leapfrog steps per transition would take 2.3 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 10 / 100 [ 10%]  (Warmup)
  Iteration: 20 / 100 [ 20%]  (Warmup)
  Iteration: 30 / 100 [ 30%]  (Warmup)
  Iteration: 40 / 100 [ 40%]  (Warmup)
  Iteration: 50 / 100 [ 50%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 60 / 100 [ 60%]  (Sampling)
  Iteration: 70 / 100 [ 70%]  (Sampling)
  Iteration: 80 / 100 [ 80%]  (Sampling)
  Iteration: 90 / 100 [ 90%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.162385 seconds (Warm-up)
                 0.208779 seconds (Sampling)
                 0.371164 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0.000183 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.83 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 10 / 100 [ 10%]  (Warmup)
  Iteration: 20 / 100 [ 20%]  (Warmup)
  Iteration: 30 / 100 [ 30%]  (Warmup)
  Iteration: 40 / 100 [ 40%]  (Warmup)
  Iteration: 50 / 100 [ 50%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 60 / 100 [ 60%]  (Sampling)
  Iteration: 70 / 100 [ 70%]  (Sampling)
  Iteration: 80 / 100 [ 80%]  (Sampling)
  Iteration: 90 / 100 [ 90%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.221395 seconds (Warm-up)
                 0.219055 seconds (Sampling)
                 0.44045 seconds (Total)
  
  Initial log joint probability = -4956.4
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -6610.95
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -4709.91
  Exception: beta_lpdf: Second shape parameter[14] is 0, but must be > 0!  (in 'model_continuous' at line 192)
  
  
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -4551.1
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -5909.47
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Rejecting initial value:
    Error evaluating the log probability at the initial value.
  Exception: beta_lpdf: First shape parameter[5] is 0, but must be > 0!  (in 'model_continuous' at line 192)
  
  Initial log joint probability = -316.539
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -2387.7
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -3331.05
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -2279.49
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -2155.46
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -3306.94
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Rejecting initial value:
    Error evaluating the log probability at the initial value.
  Exception: beta_lpdf: First shape parameter[9] is 0, but must be > 0!  (in 'model_continuous' at line 192)
  
  Initial log joint probability = -188.536
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.002794 seconds
  1000 transitions using 10 leapfrog steps per transition would take 27.94 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 2e-06 seconds (Warm-up)
                 0.004191 seconds (Sampling)
                 0.004193 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.00118 seconds
  1000 transitions using 10 leapfrog steps per transition would take 11.8 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 1e-06 seconds (Warm-up)
                 0.002956 seconds (Sampling)
                 0.002957 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Rejecting initial value:
    Error evaluating the log probability at the initial value.
  Exception: beta_lpdf: Second shape parameter[607] is 0, but must be > 0!  (in 'model_continuous' at line 192)
  
  Rejecting initial value:
    Error evaluating the log probability at the initial value.
  Exception: beta_lpdf: Second shape parameter[9] is 0, but must be > 0!  (in 'model_continuous' at line 192)
  
  Rejecting initial value:
    Error evaluating the log probability at the initial value.
  Exception: beta_lpdf: Second shape parameter[3] is 0, but must be > 0!  (in 'model_continuous' at line 192)
  
  
  Gradient evaluation took 0.001549 seconds
  1000 transitions using 10 leapfrog steps per transition would take 15.49 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 2e-06 seconds (Warm-up)
                 0.00284 seconds (Sampling)
                 0.002842 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.001728 seconds
  1000 transitions using 10 leapfrog steps per transition would take 17.28 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 2e-06 seconds (Warm-up)
                 0.003437 seconds (Sampling)
                 0.003439 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.001112 seconds
  1000 transitions using 10 leapfrog steps per transition would take 11.12 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 2e-06 seconds (Warm-up)
                 0.002974 seconds (Sampling)
                 0.002976 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.001181 seconds
  1000 transitions using 10 leapfrog steps per transition would take 11.81 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 1 [100%]  (Sampling)
  
   Elapsed Time: 1e-06 seconds (Warm-up)
                 0.003001 seconds (Sampling)
                 0.003002 seconds (Total)
  
  Initial log joint probability = -228.234
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  
  Gradient evaluation took 0.000128 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.28 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.002828 seconds (Warm-up)
                 0.002228 seconds (Sampling)
                 0.005056 seconds (Total)
  
  
  Gradient evaluation took 8.7e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.87 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.008508 seconds (Warm-up)
                 0.009224 seconds (Sampling)
                 0.017732 seconds (Total)
  
  ── 6. Error: loo/waic for stan_betareg works (@test_stan_betareg.R#211)  ───────
  is.data.frame(data) || is.matrix(data) is not TRUE
  1: expect_equivalent_loo(fit_logit) at testthat/test_stan_betareg.R:211
  2: suppressWarnings(loo(fit))
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: loo(fit)
  5: loo.stanreg(fit)
  6: suppressWarnings(loo.function(ll_fun(x), args = ll_args(x), ...))
  7: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  8: loo.function(ll_fun(x), args = ll_args(x), ...)
  9: stopifnot(is.data.frame(data) || is.matrix(data), !is.null(draws))
  
  
  Gradient evaluation took 0.000114 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.14 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.08475 seconds (Warm-up)
                 0.258166 seconds (Sampling)
                 0.342916 seconds (Total)
  
  
  Gradient evaluation took 7.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.79 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.154382 seconds (Warm-up)
                 0.15711 seconds (Sampling)
                 0.311492 seconds (Total)
  
  
  Gradient evaluation took 7.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.79 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.110848 seconds (Warm-up)
                 0.179582 seconds (Sampling)
                 0.29043 seconds (Total)
  
  
  Gradient evaluation took 0.000113 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.13 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.074593 seconds (Warm-up)
                 0.20813 seconds (Sampling)
                 0.282723 seconds (Total)
  
  
  Gradient evaluation took 0.0001 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.001329 seconds (Warm-up)
                 0.001356 seconds (Sampling)
                 0.002685 seconds (Total)
  
  
  Gradient evaluation took 8.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.86 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.001371 seconds (Warm-up)
                 0.001563 seconds (Sampling)
                 0.002934 seconds (Total)
  
  
  Gradient evaluation took 0.000104 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.04 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.017746 seconds (Warm-up)
                 0.016721 seconds (Sampling)
                 0.034467 seconds (Total)
  
  
  Gradient evaluation took 5.8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.58 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.017054 seconds (Warm-up)
                 0.021233 seconds (Sampling)
                 0.038287 seconds (Total)
  
  
  Gradient evaluation took 0.000115 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.15 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.018271 seconds (Warm-up)
                 0.017174 seconds (Sampling)
                 0.035445 seconds (Total)
  
  
  Gradient evaluation took 8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.8 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 20
             term_buffer = 2
  
  
   Elapsed Time: 0.017302 seconds (Warm-up)
                 0.021748 seconds (Sampling)
                 0.03905 seconds (Total)
  
  
  Gradient evaluation took 0.000201 seconds
  1000 transitions using 10 leapfrog steps per transition would take 2.01 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.046229 seconds (Warm-up)
                 0.037853 seconds (Sampling)
                 0.084082 seconds (Total)
  
  
  Gradient evaluation took 0.000101 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.01 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  
   Elapsed Time: 0.044085 seconds (Warm-up)
                 0.038372 seconds (Sampling)
                 0.082457 seconds (Total)
  
  ── 7. Failure: loo/waic for stan_clogit works (@test_stan_clogit.R#58)  ────────
  Names of attributes(l) ('names', 'dims', 'class', 'name', 'discrete', 'yhash') don't match 'names', 'log_lik_dim', 'class', 'name', 'discrete', 'yhash'
  
  ── 8. Failure: loo/waic for stan_clogit works (@test_stan_clogit.R#58)  ────────
  Names of attributes(w) ('names', 'dims', 'class', 'name', 'discrete', 'yhash') don't match 'names', 'log_lik_dim', 'class', 'name', 'discrete', 'yhash'
  
  In file included from file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Dense:1:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Core:531:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Dense:2:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/LU:47:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Dense:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Cholesky:12:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Jacobi:29:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Dense:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Cholesky:43:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Dense:4:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/QR:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Householder:27:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Dense:5:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/SVD:48:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Dense:6:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Geometry:58:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Dense:7:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Eigenvalues:58:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Sparse:26:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/SparseCore:66:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Sparse:27:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/OrderingMethods:71:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Sparse:29:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/SparseCholesky:43:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Sparse:32:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/SparseQR:35:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/Sparse:33:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:32:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/Eigen/CholmodSupport:45:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:35:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:39:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/unsupported/Eigen/Polynomials:135:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:3:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigen.h:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/RcppEigenForward.h:40:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/RcppEigen/include/unsupported/Eigen/SparseExtra:51:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:288:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat/prob/multinomial_rng.hpp:10:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal/prob/binomial_rng.hpp:4:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/heterogeneous_system.hpp:34:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/heterogeneous_system.hpp:35:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/dimension.hpp:21:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/heterogeneous_system.hpp:35:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/dimension.hpp:21:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/detail/dimension_list.hpp:131:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/heterogeneous_system.hpp:39:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/detail/linear_algebra.hpp:20:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/heterogeneous_system.hpp:40:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/detail/unscale.hpp:28:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/detail/conversion_impl.hpp:20:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/quantity.hpp:29:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/conversion.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/detail/conversion_impl.hpp:21:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:40:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal.hpp:309:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_2_ccdf_log.hpp:5:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_2_lccdf.hpp:10:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_ccdf_log.hpp:5:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_lccdf.hpp:23:
  In file included from /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/BH/include/boost/random/negative_binomial_distribution.hpp:21:
  /tmp/RtmpqWMQya/RLIBS_248b2e4f01d4/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 file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/core.hpp:44:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:17: warning: unused function 'set_zero_all_adjoints' [-Wunused-function]
      static void set_zero_all_adjoints() {
                  ^
  In file included from file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/core.hpp:45:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints_nested.hpp:17:17: warning: 'static' function 'set_zero_all_adjoints_nested' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration]
      static void set_zero_all_adjoints_nested() {
                  ^
  In file included from file258042bba619.cpp:8:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:58:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat/fun/autocorrelation.hpp:17:14: 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) {
               ^
  file258042bba619.cpp:312:28: warning: unused typedef 'fun_return_scalar_t__' [-Wunused-local-typedef]
      typedef fun_scalar_t__ fun_return_scalar_t__;
                             ^
  31 warnings generated.
  In file included from tests.cpp:5:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:1:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Core:531:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:2:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/LU:47:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:3:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Cholesky:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Jacobi:29:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:3:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Cholesky:43:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/QR:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Householder:27:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:5:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SVD:48:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:6:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Geometry:58:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Dense:7:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Eigenvalues:58:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:26:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCore:66:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:27:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/OrderingMethods:71:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:29:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCholesky:43:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:32:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseQR:35:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:33:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:32:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/CholmodSupport:45:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:35:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:39:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/Polynomials:135:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:40:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/SparseExtra:51:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:288:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat/prob/multinomial_rng.hpp:10:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal/prob/binomial_rng.hpp:4:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/quantity.hpp:29:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/conversion.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/heterogeneous_system.hpp:34:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/quantity.hpp:29:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/conversion.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/heterogeneous_system.hpp:35:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/dimension.hpp:21:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/quantity.hpp:29:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/conversion.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/heterogeneous_system.hpp:35:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/dimension.hpp:21:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/detail/dimension_list.hpp:131:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/quantity.hpp:29:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/conversion.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/heterogeneous_system.hpp:39:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/detail/linear_algebra.hpp:20:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/quantity.hpp:29:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/conversion.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/heterogeneous_system.hpp:40:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/detail/unscale.hpp:28:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/quantity.hpp:29:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/conversion.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/detail/conversion_impl.hpp:20:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/quantity.hpp:29:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/conversion.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/detail/conversion_impl.hpp:21:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:38:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:298:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/arr.hpp:40:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal.hpp:309:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_2_ccdf_log.hpp:5:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_2_lccdf.hpp:10:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_ccdf_log.hpp:5:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/scal/prob/neg_binomial_lccdf.hpp:23:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BH/include/boost/random/negative_binomial_distribution.hpp:21:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/core.hpp:44:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:17: 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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/core.hpp:45:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints_nested.hpp:17:17: warning: 'static' function 'set_zero_all_adjoints_nested' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration]
      static void set_zero_all_adjoints_nested() {
                  ^
  In file included from tests.cpp:6:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math.hpp:4:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat.hpp:58:
  /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/StanHeaders/include/stan/math/prim/mat/fun/autocorrelation.hpp:17:14: 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 /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/rstanarm.Rcheck/tests/testthat/include/meta_header.hpp:1:
  /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/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;
                                                                    ^
  31 warnings generated.
  
  Gradient evaluation took 7.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.75 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.001307 seconds (Warm-up)
                 0.024783 seconds (Sampling)
                 0.02609 seconds (Total)
  
  
  Gradient evaluation took 3.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.32 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.002881 seconds (Warm-up)
                 0.00277 seconds (Sampling)
                 0.005651 seconds (Total)
  
  
  Gradient evaluation took 5.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.56 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.006247 seconds (Warm-up)
                 0.005719 seconds (Sampling)
                 0.011966 seconds (Total)
  
  
  Gradient evaluation took 4.7e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.47 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.010661 seconds (Warm-up)
                 0.009762 seconds (Sampling)
                 0.020423 seconds (Total)
  
  
  Gradient evaluation took 4.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.46 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.00716 seconds (Warm-up)
                 0.004608 seconds (Sampling)
                 0.011768 seconds (Total)
  
  
  Gradient evaluation took 3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.3 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.007113 seconds (Warm-up)
                 0.004671 seconds (Sampling)
                 0.011784 seconds (Total)
  
  
  Gradient evaluation took 4.4e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.44 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.001424 seconds (Warm-up)
                 0.002748 seconds (Sampling)
                 0.004172 seconds (Total)
  
  
  Gradient evaluation took 3.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.39 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.002095 seconds (Warm-up)
                 0.002846 seconds (Sampling)
                 0.004941 seconds (Total)
  
  
  Gradient evaluation took 6.4e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.64 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.008709 seconds (Warm-up)
                 0.008454 seconds (Sampling)
                 0.017163 seconds (Total)
  
  
  Gradient evaluation took 4.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.46 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.010219 seconds (Warm-up)
                 0.007267 seconds (Sampling)
                 0.017486 seconds (Total)
  
  
  Gradient evaluation took 5.8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.58 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.190125 seconds (Warm-up)
                 0.098629 seconds (Sampling)
                 0.288754 seconds (Total)
  
  
  Gradient evaluation took 2.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.22 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.109395 seconds (Warm-up)
                 0.018564 seconds (Sampling)
                 0.127959 seconds (Total)
  
  
  Gradient evaluation took 5.8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.58 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.608465 seconds (Warm-up)
                 0.374359 seconds (Sampling)
                 0.982824 seconds (Total)
  
  
  Gradient evaluation took 3.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.31 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.083743 seconds (Warm-up)
                 0.115059 seconds (Sampling)
                 0.198802 seconds (Total)
  
  ── 9. Error: loo/waic for stan_glm works (@test_stan_glm.R#68)  ────────────────
  is.data.frame(data) || is.matrix(data) is not TRUE
  1: expect_equivalent_loo(fit_gaus) at testthat/test_stan_glm.R:68
  2: suppressWarnings(loo(fit))
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: loo(fit)
  5: loo.stanreg(fit)
  6: suppressWarnings(loo.function(ll_fun(x), args = ll_args(x), ...))
  7: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  8: loo.function(ll_fun(x), args = ll_args(x), ...)
  9: stopifnot(is.data.frame(data) || is.matrix(data), !is.null(draws))
  
  Initial log joint probability = -3388.62
  Optimization terminated normally: 
    Convergence detected: relative change in objective function was below tolerance
  Initial log joint probability = -2990.34
  Optimization terminated normally: 
    Convergence detected: relative change in objective function was below tolerance
  Initial log joint probability = -604.053
  Optimization terminated normally: 
    Convergence detected: relative change in objective function was below tolerance
  Initial log joint probability = -156.802
  Optimization terminated normally: 
    Convergence detected: relative change in objective function was below tolerance
  Initial log joint probability = -284.258
  Optimization terminated normally: 
    Convergence detected: absolute change in objective function was below tolerance
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 7.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.76 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.048465 seconds (Warm-up)
                 0.097127 seconds (Sampling)
                 0.145592 seconds (Total)
  
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 6.7e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.67 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.050882 seconds (Warm-up)
                 0.102455 seconds (Sampling)
                 0.153337 seconds (Total)
  
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 8.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.89 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.04002 seconds (Warm-up)
                 0.030762 seconds (Sampling)
                 0.070782 seconds (Total)
  
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 8.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.82 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.046127 seconds (Warm-up)
                 0.033008 seconds (Sampling)
                 0.079135 seconds (Total)
  
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 8.7e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.87 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.045172 seconds (Warm-up)
                 0.031812 seconds (Sampling)
                 0.076984 seconds (Total)
  
  
  SAMPLING FOR MODEL 'count' NOW (CHAIN 1).
  
  Gradient evaluation took 7.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.79 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 7
             adapt_window = 38
             term_buffer = 5
  
  Iteration:  1 / 100 [  1%]  (Warmup)
  Iteration: 51 / 100 [ 51%]  (Sampling)
  Iteration: 100 / 100 [100%]  (Sampling)
  
   Elapsed Time: 0.044978 seconds (Warm-up)
                 0.032268 seconds (Sampling)
                 0.077246 seconds (Total)
  
  Initial log joint probability = -12673.6
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  Initial log joint probability = -173239
  Optimization terminated normally: 
    Convergence detected: relative gradient magnitude is below tolerance
  
  Gradient evaluation took 5.8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.58 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.000292 seconds (Warm-up)
                 0.000257 seconds (Sampling)
                 0.000549 seconds (Total)
  
  
  Gradient evaluation took 5.8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.58 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.000177 seconds (Warm-up)
                 0.000251 seconds (Sampling)
                 0.000428 seconds (Total)
  
  
  Gradient evaluation took 7.7e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.77 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.007775 seconds (Warm-up)
                 0.032412 seconds (Sampling)
                 0.040187 seconds (Total)
  
  
  Gradient evaluation took 4.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.41 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  
   Elapsed Time: 0.006658 seconds (Warm-up)
                 0.008109 seconds (Sampling)
                 0.014767 seconds (Total)
  
  
  Gradient evaluation took 5.3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.53 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.003541 seconds (Warm-up)
                 0.031292 seconds (Sampling)
                 0.034833 seconds (Total)
  
  
  Gradient evaluation took 2.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.25 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: There aren't enough warmup iterations to fit the
           three stages of adaptation as currently configured.
           Reducing each adaptation stage to 15%/75%/10% of
           the given number of warmup iterations:
             init_buffer = 3
             adapt_window = 15
             term_buffer = 2
  
  
   Elapsed Time: 0.028791 seconds (Warm-up)
                 0.032828 seconds (Sampling)
                 0.061619 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.000269 seconds
  1000 transitions using 10 leapfrog steps per transition would take 2.69 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 4.24523 seconds (Warm-up)
                 1.39122 seconds (Sampling)
                 5.63645 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0.000148 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.48 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 6.61126 seconds (Warm-up)
                 1.99118 seconds (Sampling)
                 8.60244 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 8.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.81 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 10 [ 10%]  (Warmup)
  Iteration: 2 / 10 [ 20%]  (Warmup)
  Iteration: 3 / 10 [ 30%]  (Warmup)
  Iteration: 4 / 10 [ 40%]  (Warmup)
  Iteration: 5 / 10 [ 50%]  (Warmup)
  Iteration: 6 / 10 [ 60%]  (Sampling)
  Iteration: 7 / 10 [ 70%]  (Sampling)
  Iteration: 8 / 10 [ 80%]  (Sampling)
  Iteration: 9 / 10 [ 90%]  (Sampling)
  Iteration: 10 / 10 [100%]  (Sampling)
  
   Elapsed Time: 0.001464 seconds (Warm-up)
                 0.001765 seconds (Sampling)
                 0.003229 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 6.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.69 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 10 [ 10%]  (Warmup)
  Iteration: 2 / 10 [ 20%]  (Warmup)
  Iteration: 3 / 10 [ 30%]  (Warmup)
  Iteration: 4 / 10 [ 40%]  (Warmup)
  Iteration: 5 / 10 [ 50%]  (Warmup)
  Iteration: 6 / 10 [ 60%]  (Sampling)
  Iteration: 7 / 10 [ 70%]  (Sampling)
  Iteration: 8 / 10 [ 80%]  (Sampling)
  Iteration: 9 / 10 [ 90%]  (Sampling)
  Iteration: 10 / 10 [100%]  (Sampling)
  
   Elapsed Time: 0.001229 seconds (Warm-up)
                 0.001441 seconds (Sampling)
                 0.00267 seconds (Total)
  
  
  SAMPLING FOR MODEL 'binomial' NOW (CHAIN 1).
  
  Gradient evaluation took 0.000118 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.18 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.691221 seconds (Warm-up)
                 0.31706 seconds (Sampling)
                 1.00828 seconds (Total)
  
  
  SAMPLING FOR MODEL 'binomial' NOW (CHAIN 2).
  
  Gradient evaluation took 9.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.92 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.467316 seconds (Warm-up)
                 0.262107 seconds (Sampling)
                 0.729423 seconds (Total)
  
  ------------------------------------------------------------
  EXPERIMENTAL ALGORITHM:
    This procedure has not been thoroughly tested and may be unstable
    or buggy. The interface is subject to change.
  ------------------------------------------------------------
  
  
  
  Gradient evaluation took 0.001057 seconds
  1000 transitions using 10 leapfrog steps per transition would take 10.57 seconds.
  Adjust your expectations accordingly!
  
  
  Begin eta adaptation.
  Iteration:   1 / 250 [  0%]  (Adaptation)
  Iteration:  50 / 250 [ 20%]  (Adaptation)
  Iteration: 100 / 250 [ 40%]  (Adaptation)
  Iteration: 150 / 250 [ 60%]  (Adaptation)
  Iteration: 200 / 250 [ 80%]  (Adaptation)
  Success! Found best value [eta = 1] earlier than expected.
  
  Begin stochastic gradient ascent.
    iter       ELBO   delta_ELBO_mean   delta_ELBO_med   notes 
     100     -3e+03             1.000            1.000
     200     -3e+03             0.553            1.000
     300     -3e+03             0.055            0.106
     400     -3e+03             0.004            0.004   MEAN ELBO CONVERGED   MEDIAN ELBO CONVERGED
  Informational Message: The maximum number of iterations is reached! The algorithm may not have converged.
  This variational approximation is not guaranteed to be meaningful.
  
  Drawing a sample of size 1000 from the approximate posterior... 
  COMPLETED.
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.000102 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.02 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 1.00264 seconds (Warm-up)
                 0.574714 seconds (Sampling)
                 1.57736 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 5.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.59 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 1.58006 seconds (Warm-up)
                 0.529592 seconds (Sampling)
                 2.10965 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 4.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.49 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 10 [ 10%]  (Warmup)
  Iteration: 2 / 10 [ 20%]  (Warmup)
  Iteration: 3 / 10 [ 30%]  (Warmup)
  Iteration: 4 / 10 [ 40%]  (Warmup)
  Iteration: 5 / 10 [ 50%]  (Warmup)
  Iteration: 6 / 10 [ 60%]  (Sampling)
  Iteration: 7 / 10 [ 70%]  (Sampling)
  Iteration: 8 / 10 [ 80%]  (Sampling)
  Iteration: 9 / 10 [ 90%]  (Sampling)
  Iteration: 10 / 10 [100%]  (Sampling)
  
   Elapsed Time: 0.000833 seconds (Warm-up)
                 0.000384 seconds (Sampling)
                 0.001217 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 2.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.25 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 10 [ 10%]  (Warmup)
  Iteration: 2 / 10 [ 20%]  (Warmup)
  Iteration: 3 / 10 [ 30%]  (Warmup)
  Iteration: 4 / 10 [ 40%]  (Warmup)
  Iteration: 5 / 10 [ 50%]  (Warmup)
  Iteration: 6 / 10 [ 60%]  (Sampling)
  Iteration: 7 / 10 [ 70%]  (Sampling)
  Iteration: 8 / 10 [ 80%]  (Sampling)
  Iteration: 9 / 10 [ 90%]  (Sampling)
  Iteration: 10 / 10 [100%]  (Sampling)
  
   Elapsed Time: 0.000899 seconds (Warm-up)
                 0.003247 seconds (Sampling)
                 0.004146 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 3).
  
  Gradient evaluation took 2.8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.28 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 10 [ 10%]  (Warmup)
  Iteration: 2 / 10 [ 20%]  (Warmup)
  Iteration: 3 / 10 [ 30%]  (Warmup)
  Iteration: 4 / 10 [ 40%]  (Warmup)
  Iteration: 5 / 10 [ 50%]  (Warmup)
  Iteration: 6 / 10 [ 60%]  (Sampling)
  Iteration: 7 / 10 [ 70%]  (Sampling)
  Iteration: 8 / 10 [ 80%]  (Sampling)
  Iteration: 9 / 10 [ 90%]  (Sampling)
  Iteration: 10 / 10 [100%]  (Sampling)
  
   Elapsed Time: 0.001575 seconds (Warm-up)
                 0.001112 seconds (Sampling)
                 0.002687 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 4).
  
  Gradient evaluation took 2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.2 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 10 [ 10%]  (Warmup)
  Iteration: 2 / 10 [ 20%]  (Warmup)
  Iteration: 3 / 10 [ 30%]  (Warmup)
  Iteration: 4 / 10 [ 40%]  (Warmup)
  Iteration: 5 / 10 [ 50%]  (Warmup)
  Iteration: 6 / 10 [ 60%]  (Sampling)
  Iteration: 7 / 10 [ 70%]  (Sampling)
  Iteration: 8 / 10 [ 80%]  (Sampling)
  Iteration: 9 / 10 [ 90%]  (Sampling)
  Iteration: 10 / 10 [100%]  (Sampling)
  
   Elapsed Time: 0.000593 seconds (Warm-up)
                 0.000588 seconds (Sampling)
                 0.001181 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.000116 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.16 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 1.65969 seconds (Warm-up)
                 0.917952 seconds (Sampling)
                 2.57764 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0.000153 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.53 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 1.9686 seconds (Warm-up)
                 0.918011 seconds (Sampling)
                 2.88661 seconds (Total)
  
  ── 10. Error: loo/waic for stan_glmer works (@test_stan_glmer.R#146)  ──────────
  is.data.frame(data) || is.matrix(data) is not TRUE
  1: expect_equivalent_loo(fit) at testthat/test_stan_glmer.R:146
  2: suppressWarnings(loo(fit))
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: loo(fit)
  5: loo.stanreg(fit)
  6: suppressWarnings(loo.function(ll_fun(x), args = ll_args(x), ...))
  7: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  8: loo.function(ll_fun(x), args = ll_args(x), ...)
  9: stopifnot(is.data.frame(data) || is.matrix(data), !is.null(draws))
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.00015 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.5 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 1.52128 seconds (Warm-up)
                 0.828773 seconds (Sampling)
                 2.35006 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0.000126 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.26 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 1.80645 seconds (Warm-up)
                 0.835137 seconds (Sampling)
                 2.64159 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 7.4e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.74 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.428443 seconds (Warm-up)
                 0.224357 seconds (Sampling)
                 0.6528 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 4.2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.42 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.448754 seconds (Warm-up)
                 0.135291 seconds (Sampling)
                 0.584045 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 7.3e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.73 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.468162 seconds (Warm-up)
                 0.215621 seconds (Sampling)
                 0.683783 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 3.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.36 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.454509 seconds (Warm-up)
                 0.1415 seconds (Sampling)
                 0.596009 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.000122 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.22 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.961872 seconds (Warm-up)
                 0.474653 seconds (Sampling)
                 1.43653 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0.000128 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.28 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.747109 seconds (Warm-up)
                 0.540546 seconds (Sampling)
                 1.28765 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 7e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.7 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.441027 seconds (Warm-up)
                 0.175269 seconds (Sampling)
                 0.616296 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 5.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.51 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.541066 seconds (Warm-up)
                 0.159276 seconds (Sampling)
                 0.700342 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 7.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.71 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.454723 seconds (Warm-up)
                 0.160706 seconds (Sampling)
                 0.615429 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 3.1e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.31 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 0.600794 seconds (Warm-up)
                 0.200388 seconds (Sampling)
                 0.801182 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.000113 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.13 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 1.19252 seconds (Warm-up)
                 0.960235 seconds (Sampling)
                 2.15276 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 7.5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.75 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 1.14842 seconds (Warm-up)
                 0.902964 seconds (Sampling)
                 2.05138 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0.00013 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.3 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 2.1701 seconds (Warm-up)
                 0.692058 seconds (Sampling)
                 2.86216 seconds (Total)
  
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0.000114 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.14 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:   1 / 400 [  0%]  (Warmup)
  Iteration: 201 / 400 [ 50%]  (Sampling)
  Iteration: 400 / 400 [100%]  (Sampling)
  
   Elapsed Time: 2.30485 seconds (Warm-up)
                 1.31671 seconds (Sampling)
                 3.62156 seconds (Total)
  
  
  Gradient evaluation took 4.8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.48 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 2.33509 seconds (Warm-up)
                 1.55775 seconds (Sampling)
                 3.89285 seconds (Total)
  
  
  Gradient evaluation took 3.7e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.37 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 2.01047 seconds (Warm-up)
                 1.59277 seconds (Sampling)
                 3.60324 seconds (Total)
  
  
  Gradient evaluation took 3.6e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.36 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 8.63 seconds (Warm-up)
                 9.25472 seconds (Sampling)
                 17.8847 seconds (Total)
  
  
  Gradient evaluation took 1.8e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.18 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 4.80191 seconds (Warm-up)
                 5.86168 seconds (Sampling)
                 10.6636 seconds (Total)
  
  
  Gradient evaluation took 5e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.5 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.164097 seconds (Warm-up)
                 0.14186 seconds (Sampling)
                 0.305957 seconds (Total)
  
  
  Gradient evaluation took 2e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.2 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 0.200229 seconds (Warm-up)
                 0.172112 seconds (Sampling)
                 0.372341 seconds (Total)
  
  
  SAMPLING FOR MODEL 'lm' NOW (CHAIN 1).
  
  Gradient evaluation took 3.9e-05 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0.39 seconds.
  Adjust your expectations accordingly!
  
  
  WARNING: No variance estimation is
           performed for num_warmup < 20
  
  Iteration: 1 / 10 [ 10%]  (Warmup)
  Iteration: 2 / 10 [ 20%]  (Warmup)
  Iteration: 3 / 10 [ 30%]  (Warmup)
  Iteration: 4 / 10 [ 40%]  (Warmup)
  Iteration: 5 / 10 [ 50%]  (Warmup)
  Iteration: 6 / 10 [ 60%]  (Sampling)
  Iteration: 7 / 10 [ 70%]  (Sampling)
  Iteration: 8 / 10 [ 80%]  (Sampling)
  Iteration: 9 / 10 [ 90%]  (Sampling)
  Iteration: 10 / 10 [100%]  (Sampling)
  
   Elapsed Time: 0.000265 seconds (Warm-up)
                 0.000289 seconds (Sampling)
                 0.000554 seconds (Total)
  
  ── 11. Error: loo/waic for stan_lm works (@test_stan_lm.R#136)  ────────────────
  is.data.frame(data) || is.matrix(data) is not TRUE
  1: expect_equivalent_loo(fit) at testthat/test_stan_lm.R:136
  2: suppressWarnings(loo(fit))
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: loo(fit)
  5: loo.stanreg(fit)
  6: suppressWarnings(loo.function(ll_fun(x), args = ll_args(x), ...))
  7: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  8: loo.function(ll_fun(x), args = ll_args(x), ...)
  9: stopifnot(is.data.frame(data) || is.matrix(data), !is.null(draws))
  
  
  Gradient evaluation took 0.000234 seconds
  1000 transitions using 10 leapfrog steps per transition would take 2.34 seconds.
  Adjust your expectations accordingly!
  
  
  
  Gradient evaluation took 0.000162 seconds
  1000 transitions using 10 leapfrog steps per transition would take 1.62 seconds.
  Adjust your expectations accordingly!
  
  
  
   Elapsed Time: 3.4497 seconds (Warm-up)
                 2.25305 seconds (Sampling)
                 5.70275 seconds (Total)
  
  
   Elapsed Time: 3.34249 seconds (Warm-up)
                 2.4117 seconds (Sampling)
                 5.75418 seconds (Total)
  
  ── 12. Error: loo/waic for stan_polr works (@test_stan_polr.R#95)  ─────────────
  is.data.frame(data) || is.matrix(data) is not TRUE
  1: expect_equivalent_loo(fit1) at testthat/test_stan_polr.R:95
  2: suppressWarnings(loo(fit))
  3: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  4: loo(fit)
  5: loo.stanreg(fit)
  6: suppressWarnings(loo.function(ll_fun(x), args = ll_args(x), ...))
  7: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  8: loo.function(ll_fun(x), args = ll_args(x), ...)
  9: stopifnot(is.data.frame(data) || is.matrix(data), !is.null(draws))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 1665 SKIPPED: 2 FAILED: 12
  1. Error: loo issues errors/warnings (@test_loo.R#86) 
  2. Error: loo with k_threshold works for edge case(s) (@test_loo.R#120) 
  3. Error: compare_models throws correct errors (@test_loo.R#182) 
  4. Error: compare_models works (@test_loo.R#223) 
  5. Error: pp_check.stanreg creates ggplot object (@test_pp_check.R#50) 
  6. Error: loo/waic for stan_betareg works (@test_stan_betareg.R#211) 
  7. Failure: loo/waic for stan_clogit works (@test_stan_clogit.R#58) 
  8. Failure: loo/waic for stan_clogit works (@test_stan_clogit.R#58) 
  9. Error: loo/waic for stan_glm works (@test_stan_glm.R#68) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted