eyzhao / SignIT

Mutation Signatures in Individual Tumours Deciphered by MCMC
3 stars 4 forks source link

Build failure #4

Open SeanTomlinson30 opened 5 years ago

SeanTomlinson30 commented 5 years ago
Re-compiling signit
─  installing *source* package ‘signit’ ...
   ** using staged installation
   ** libs
   "/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/population_model.stan
   Wrote C++ file "stan_files/population_model.cc"
   clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"`"/Library/Frameworks/R.framework/Resources/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=ignore_error -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include  -fPIC  -Wall -g -O2  -UNDEBUG -Wall -pedantic -g -O0 -fdiagnostics-color=always -c stan_files/population_model.cc -o stan_files/population_model.o
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:15:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/random/additive_combine.hpp:27:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/random/linear_congruential.hpp:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/random/detail/const_mod.hpp:23:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/random/detail/large_arithmetic.hpp:19:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/random/detail/integer_log2.hpp:19:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/pending/integer_log2.hpp:7:1: warning: This header is deprecated. Use <boost/integer/integer_log2.hpp> instead. [-W#pragma-messages]
   BOOST_HEADER_DEPRECATED("<boost/integer/integer_log2.hpp>");
   ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/config/header_deprecated.hpp:23:37: note: expanded from macro 'BOOST_HEADER_DEPRECATED'
   # define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.")
                                       ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE'
   # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
                                    ^
   <scratch space>:76:2: note: expanded from here
    message("This header is deprecated. Use " "<boost/integer/integer_log2.hpp>" " instead.")
    ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:1:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Core:535:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:2:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/LU:47:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Cholesky:12:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Jacobi:29:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Cholesky:43:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/QR:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Householder:27:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:5:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/SVD:48:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:6:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Geometry:58:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Dense:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Eigenvalues:58:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:31:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Sparse:26:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/SparseCore:66:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:31:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Sparse:27:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/OrderingMethods:71:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:31:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Sparse:29:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/SparseCholesky:43:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:31:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Sparse:32:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/SparseQR:35:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:31:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/Sparse:33:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:32:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/Eigen/CholmodSupport:45:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:39:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/unsupported/Eigen/Polynomials:135:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:22:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigen.h:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/RcppEigenForward.h:40:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppEigen/include/unsupported/Eigen/SparseExtra:51:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/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 stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:344:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr.hpp:46:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint.hpp:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/quantity.hpp:29:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/conversion.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/detail/conversion_impl.hpp:20:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/heterogeneous_system.hpp:34:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token]
   #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
            ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
        <boost/typeof/incr_registration_group.hpp>
               ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:344:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr.hpp:46:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint.hpp:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/quantity.hpp:29:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/conversion.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/detail/conversion_impl.hpp:20:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/heterogeneous_system.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/dimension.hpp:21:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token]
   #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
            ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
        <boost/typeof/incr_registration_group.hpp>
               ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:344:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr.hpp:46:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint.hpp:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/quantity.hpp:29:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/conversion.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/detail/conversion_impl.hpp:20:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/heterogeneous_system.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/dimension.hpp:21:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/detail/dimension_list.hpp:131:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token]
   #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
            ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
        <boost/typeof/incr_registration_group.hpp>
               ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:344:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr.hpp:46:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint.hpp:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/quantity.hpp:29:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/conversion.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/detail/conversion_impl.hpp:20:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/heterogeneous_system.hpp:39:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/detail/linear_algebra.hpp:20:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token]
   #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
            ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
        <boost/typeof/incr_registration_group.hpp>
               ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:344:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr.hpp:46:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint.hpp:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/quantity.hpp:29:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/conversion.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/detail/conversion_impl.hpp:20:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/heterogeneous_system.hpp:40:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/detail/unscale.hpp:28:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token]
   #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
            ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
        <boost/typeof/incr_registration_group.hpp>
               ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:344:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr.hpp:46:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint.hpp:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/quantity.hpp:29:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/conversion.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/detail/conversion_impl.hpp:20:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token]
   #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
            ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
        <boost/typeof/incr_registration_group.hpp>
               ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:344:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr.hpp:46:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint.hpp:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/quantity.hpp:29:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/conversion.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/detail/conversion_impl.hpp:21:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token]
   #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
            ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
        <boost/typeof/incr_registration_group.hpp>
               ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:12:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/mat.hpp:344:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr.hpp:46:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint.hpp:25:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token]
   #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
            ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
        <boost/typeof/incr_registration_group.hpp>
               ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:41:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/ordered_constrain.hpp:6:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/adj_jac_apply.hpp:31:27: error: no template named 'index_sequence' in namespace 'std'; did you mean 'boost::fusion::detail::index_sequence'?
                             std::index_sequence<I...> i) {
                             ^~~~~~~~~~~~~~~~~~~
                             boost::fusion::detail::index_sequence
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/fusion/support/detail/index_sequence.hpp:37:12: note: 'boost::fusion::detail::index_sequence' declared here
       struct index_sequence
              ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:41:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/ordered_constrain.hpp:6:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/adj_jac_apply.hpp:30:11: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
   constexpr auto apply_impl(const F& f, const Tuple& t,
             ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/adj_jac_apply.hpp:48:11: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
   constexpr auto apply(const F& f, const Tuple& t) {
             ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/adj_jac_apply.hpp:49:27: error: no template named 'make_index_sequence' in namespace 'std'; did you mean 'boost::fusion::detail::make_index_sequence'?
     return apply_impl(f, t, std::make_index_sequence<std::tuple_size<Tuple>{}>{});
                             ^~~~~~~~~~~~~~~~~~~~~~~~
                             boost::fusion::detail::make_index_sequence
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include/boost/fusion/support/detail/index_sequence.hpp:59:12: note: 'boost::fusion::detail::make_index_sequence' declared here
       struct make_index_sequence
              ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:41:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/ordered_constrain.hpp:6:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/adj_jac_apply.hpp:151:14: error: no template named 'result_of_t' in namespace 'std'; did you mean 'result_of'?
         = std::result_of_t<F(decltype(is_var_), decltype(value_of(Targs()))...)>;
           ~~~~~^~~~~~~~~~~
                result_of
   /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:2863:34: note: 'result_of' declared here
   template <class _Callable> class result_of;
                                    ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:41:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/ordered_constrain.hpp:6:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/adj_jac_apply.hpp:408:3: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
     auto operator()(const Targs&... args) {
     ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/adj_jac_apply.hpp:536:16: error: 'auto' not allowed in lambda parameter
           [this](auto&&... args) { this->accumulate_adjoints(args...); },
                  ^~~~
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/adj_jac_apply.hpp:536:22: error: type 'int &&' of function parameter pack does not contain any unexpanded parameter packs
           [this](auto&&... args) { this->accumulate_adjoints(args...); },
                  ~~~~~~^~~~~~~~
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/functor/adj_jac_apply.hpp:616:1: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
   auto adj_jac_apply(const Targs&... args) {
   ^
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:41:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/ordered_constrain.hpp:60:3: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
     auto multiply_adjoint_jacobian(const std::array<bool, size>& needs_adj,
     ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/ordered_constrain.hpp:73:12: error: no viable conversion from returned value of type 'tuple<typename __make_tuple_return<Matrix<double, -1, 1, 0, -1, 1> &>::type>' (aka 'tuple<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') to function return type 'int'
       return std::make_tuple(adj_times_jac);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/ordered_constrain.hpp:88:10: error: no matching function for call to 'adj_jac_apply'
     return adj_jac_apply<internal::ordered_constrain_op>(x);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:42:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/positive_ordered_constrain.hpp:61:3: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
     auto multiply_adjoint_jacobian(const std::array<bool, size>& needs_adj,
     ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/positive_ordered_constrain.hpp:71:12: error: no viable conversion from returned value of type 'tuple<typename __make_tuple_return<Matrix<double, -1, 1, 0, -1, 1> &>::type>' (aka 'tuple<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') to function return type 'int'
       return std::make_tuple(adj_times_jac);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/positive_ordered_constrain.hpp:86:10: error: no matching function for call to 'adj_jac_apply'
     return adj_jac_apply<internal::positive_ordered_constrain_op>(x);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:48:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/simplex_constrain.hpp:66:3: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
     auto multiply_adjoint_jacobian(const std::array<bool, size>& needs_adj,
     ^
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/simplex_constrain.hpp:79:12: error: no viable conversion from returned value of type 'tuple<typename __make_tuple_return<Matrix<double, -1, 1, 0, -1, 1> &>::type>' (aka 'tuple<Eigen::Matrix<double, -1, 1, 0, -1, 1> >') to function return type 'int'
       return std::make_tuple(adj_times_jac);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/simplex_constrain.hpp:97:10: error: no matching function for call to 'adj_jac_apply'
     return adj_jac_apply<internal::simplex_constrain_op>(y);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from stan_files/population_model.cc:3:
   In file included from stan_files/population_model.hpp:18:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/rstaninc.hpp:3:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rstan/include/rstan/stan_fit.hpp:35:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:10:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/test_gradients.hpp:7:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/src/stan/model/log_prob_grad.hpp:4:
   In file included from /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat.hpp:49:
   /Library/Frameworks/R.framework/Versions/3.6/Resources/library/StanHeaders/include/stan/math/rev/mat/fun/softmax.hpp:78:10: error: no matching function for call to 'adj_jac_apply'
     return adj_jac_apply<internal::softmax_op>(alpha);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   26 warnings and 19 errors generated.
   rm stan_files/population_model.cc
   make: *** [stan_files/population_model.o] Error 1
   ERROR: compilation failed for package ‘signit’