Running 'testthat.R'
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
  This is rstanarm version 2.21.1
  - See https://mc-stan.org/rstanarm/articles/priors for changes to default priors!
  - Default priors may change, so it's safest to specify priors, even if equivalent to the defaults.
  - For execution on a local, multicore CPU with excess RAM we recommend calling
    options(mc.cores = parallel::detectCores())
  > Sys.unsetenv("R_TESTS")
  > example(example_model)
  
  exmpl_> example_model <- 
  exmpl_+   stan_glmer(cbind(incidence, size - incidence) ~ size + period + (1|herd),
  exmpl_+              data = lme4::cbpp, family = binomial, QR = TRUE,
  exmpl_+              # this next line is only to keep the example small in size!
  exmpl_+              chains = 2, cores = 1, seed = 12345, iter = 1000, refresh = 0)
  
  exmpl_> example_model
  stan_glmer
   family:       binomial [logit]
   formula:      cbind(incidence, size - incidence) ~ size + period + (1 | herd)
   observations: 56
  ------
              Median MAD_SD
  (Intercept) -1.5    0.6  
  size         0.0    0.0  
  period2     -1.0    0.3  
  period3     -1.1    0.4  
  period4     -1.6    0.5  
  
  Error terms:
   Groups Name        Std.Dev.
   herd   (Intercept) 0.78    
  Num. levels: herd 15 
  
  ------
  * For help interpreting the printed output see ?print.stanreg
  * For info on the priors used see ?prior_summary.stanreg
  > test_check("rstanarm", invert = FALSE,
  +            filter = if (Sys.getenv("NOT_CRAN") != "true") "stan_functions")
  Scanning R CMD config CC...
  cc_path:  
  '' does not exist
  Scanning path...
  Scanning registry...
  Scanning R CMD config CC...
  cc_path:  
  '' does not exist
  Scanning path...
  Scanning registry...
  Warning messages:
  1: In system(paste(cmd, "shlib-clean")) : 'make' not found
  2: In system(cmd) : 'make' not found
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_stan_functions.R:70:1): (code run outside of `test_that()`) ─────
  Error: $ operator is invalid for atomic vectors
  Backtrace:
      █
   1. └─rstan::expose_stan_functions(stanc_ret, rebuild = TRUE, verbose = TRUE) test_stan_functions.R:70:0
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted