Running ‘testthat.R’ [14s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
  +            filter = if (Sys.getenv("NOT_CRAN") != "true") "stan_functions")
  clang++ -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/Rcpp/include/"  -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/RcppEigen/include/"  -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/RcppEigen/include/unsupported"  -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/BH/include" -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/StanHeaders/include/src/"  -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/StanHeaders/include/"  -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/RcppParallel/include/"  -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/rstan/include" -DEIGEN_NO_DEBUG  -DBOOST_DISABLE_ASSERTS  -DBOOST_PENDING_INTEGER_LOG2_HPP  -DSTAN_THREADS  -DBOOST_NO_AUTO_PTR  -include '/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp'  -D_REENTRANT -DRCPP_PARALLEL_USE_TBB=1   -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/Rcpp/include" -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/StanHeaders/include" -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/rstan/include" -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/RcppEigen/include" -I"/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/BH/include" -I"/private/tmp/RtmphfYs9c/sourceCpp-x86_64-apple-darwin15.6.0-1.0.5" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -include '/Volumes/SSD-Data/Builds/R-dev-web/QA/Simon/packages/el-capitan-x86_64/Rlib/3.6/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp' -fPIC  -Wall -g -O2  -c file83985fcb6d0.cpp -o file83985fcb6d0.o
  make: *** [file83985fcb6d0.o] Interrupt: 2
  ── 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
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test_stan_functions.R:70:1): (code run outside of `test_that()`)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted